Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1582
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> |
| Subject | Re: Using panels |
| Message-ID | <pan.2007.05.05.23.36.24.362870@squeakydolphin.com> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <thw_h.112005$cJ1.110482@newsfe13.lga> |
| References | <thw_h.112005$cJ1.110482@newsfe13.lga> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 29 |
| Date | Wed, 27 Apr 2011 15:34:09 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918449 96.60.20.240 (Wed, 27 Apr 2011 10:34:09 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:34:09 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:1582 |
Show key headers only | View raw
To: comp.lang.java.gui On Thu, 03 May 2007 18:48:09 -0700, Knute Johnson wrote: [Snip] > You are adding panel to jPanel1 but not to it's layout. Also I know that > the IDEs love GroupLayout but it is a pain to read and understand. > Why is panel not added in initComponents()? I think part of your > problem is calling add() on jPanel1 and not addComponent() on its layout. > And since we are talking about IDEs does it add the variable declarations > at the end of the class file or is that author's choice? Looking at it after reading this I switched to using the Box layout and simplified things a bit. That solved the problem. I'm still unsure of why the panel didn't show up, but the problem is solved. I have decided that using the group layout that the IDE selects by default is probably a bad idea unless there is some reason to justify it. The other layouts probably handle most tasks without a problem. Thanks. -- Kenneth P. Turvey <kt-usenet@squeakydolphin.com> XMPP: kpturvey@jabber.org --- * 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 | Next — Previous in thread | Find similar | Unroll thread
Using panels "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
Re: Using panels "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
Re: Using panels "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
Re: Using panels "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
Re: Using panels "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
Re: Using panels "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
Re: Using panels "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
Re: Using panels "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000
csiph-web