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


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

Re: Connecting JFrames in

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

Show all headers | View raw


  To: comp.lang.java.gui
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.

---
 * 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 | Unroll thread


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