Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!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: Screen Resolution Message-ID: <7ba3ed9281666@uwe> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <5qnp2uF10flebU1@mid.dfncis.de> References: <5qnp2uF10flebU1@mid.dfncis.de> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 40 Date: Wed, 27 Apr 2011 15:41:16 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918876 96.60.20.240 (Wed, 27 Apr 2011 10:41:16 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:41:16 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2810 To: comp.lang.java.gui Abdelali Adil wrote: >>> >If its only a prototype, what about using a GUI builder? >>> >[quoted text clipped - 8 lines] >> >> Please explain. > >Well, this GUI was quite complex therefor Gridbag LM would be the solution, >but as maybe you know >Gridbag LM isn't only one of the most powerfull LM but also one of most >complex LM and you will need much more time as if you use GUI builder with >null Layout. But you spend much more time trying to figure how to attach ComponentListener(s) or monitoring a 'DPI change' rather than simply allowing a LayoutManager (or LayoutManager*s* in the case of a nested layout) to figure how to distribute the available space amongst the components. I did an experiment since this thread started, changing my 96 DPI Widows computer to 120 DPI. Every one of my GUIs (using standard J2SE Layouts) looks entirely logical to the new DPI, without any need of 'knowing' either the screen size, or DPI. Note that this 'logical' look is more a testament to the clever people that designed the layouts, than anything to do with me - I just invoked their (well designed) logic in my GUIs. -- Andrew Thompson http://www.physci.org/ Message posted via http://www.javakb.com --- * 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