Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2810
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Screen Resolution |
| Message-ID | <7ba3ed9281666@uwe> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <5qnp2uF10flebU1@mid.dfncis.de> |
| Date | 2011-04-27 15:41 +0000 |
| Organization | TDS.net |
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
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Screen Resolution "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: Screen Resolution "Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: Screen Resolution "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: Screen Resolution "Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: Screen Resolution "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: Screen Resolution "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: Screen Resolution "Abdelali Adil" <abdelali.adil@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: Screen Resolution "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: Screen Resolution "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
csiph-web