Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #130

Re: Connecting JFrames in

From "Jeff" <jeff@THRWHITE.remove-dii-this>
Subject Re: Connecting JFrames in
Message-ID <1163766130.942273.5110@h54g2000cwb.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1163755477.599519.193490@j44g2000cwa.googlegroups.com>
Date 2011-04-27 15:25 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

Andrew Thompson wrote:
> Mithil wrote:
> ..
> > how would one.java file's class know about JFrame2 which is in two.java
> > ?
>
> If it is in a package with appropriate access rights,
> import it.
> If not in a package, it could be loaded by reflection,
> but don't - put it in a package.
>
> (And if those terms are mysterious, search on them
> or ask on c.l.j.hlp - but still search on them first..)
>
> Andrew T.

Or, even better, if they are in the same package they automatically
know about each other.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Connecting JFrames in Net "Mithil" <mithil@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000
  Re: Connecting JFrames in "Jeff" <jeff@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000
    Re: Connecting JFrames in "Mithil" <mithil@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000
  Re: Connecting JFrames in "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000
    Re: Connecting JFrames in "Jeff" <jeff@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000
      Re: Connecting JFrames in "Mithil" <mithil@THRWHITE.remove-dii-this> - 2011-04-27 15:25 +0000

csiph-web