Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Andrew Thompson" Subject: Re: Unpredictable Swing b Message-ID: <792f9ea90bd1c@uwe> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <4703B048.2C8B@softhome.net> References: <4703B048.2C8B@softhome.net> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 28 Date: Wed, 27 Apr 2011 15:40:01 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918801 96.60.20.240 (Wed, 27 Apr 2011 10:40:01 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:40:01 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2593 To: comp.lang.java.gui H|Nkan Lane wrote: >I have built an application based on JFrame and a BorderLayout with >some added components. I have some very real problems with controlling >how it behaves. Components are not necessarily shown until I resize the >window. How do I solve that? There were some other good suggestions (especially the SSCCE,) but I suspect a pack() or validate() at the end of the initial widget construction and placement, will solve this problem. >..I assume that it is some basic Swing >methodology that I don't know. If I am correct, the same problem can also affect AWT. -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200710/1 --- * 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