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


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

Re: a naive question

From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: a naive question
Message-ID <ymiabyq5jrc.fsf@sevak.isi.edu> (permalink)
Newsgroups comp.lang.java.gui
References <yIhHh.25404$cE3.12842@edtnps89>
Date 2011-04-27 15:31 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
"gg" <gg@Edm.noMail.net> writes:

> due my naivety, using JDK 1.5.1 and netbean IDE 5.5, I created 3 files, 1
> main, 2 jframes: JFA, and JFB.
> 
> Normally the main opens JFA. which just works like a charm.  JFB is similar
> to JFA,
> 
> I coded the main to accept an argument on command line to open JFB with the
> similar code to JFA.
> 
> However, I could not show JFB from main; I run afoul of layout more than
> once
> 
> In JFA, I tried using button to place JFB in a jdialog, again I run into the
> layout problem.
> 
> even new JFB().setVisible(true);
> still gave me trouble
> 
> what should I really do instead?  I tried looking for info on the layer
> contentpane. So far I have yet to find anything concrete I can use

Well, you could do one of the following:

*  Figure out in what ways JFA and JFB are different and go from there.

*  Find a psychic who can figure out the problem for you.

*  Post a runnable example here so the non-psychics have a chance to comment.


-- 
Thomas A. Russ,  USC/Information Sciences Institute

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

a naive question "gg" <gg@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
  Re: a naive question "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
    Re: a naive question "gg" <gg@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000

csiph-web