Re: Screen Resolution
- From: "Andrew Thompson" <u32984@uwe>
- Date: Fri, 23 Nov 2007 11:33:14 GMT
Abdelali Adil wrote:
[quoted text clipped - 8 lines]>If its only a prototype, what about using a GUI builder?
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
.
- Follow-Ups:
- Re: Screen Resolution
- From: Andrew Thompson
- Re: Screen Resolution
- References:
- Screen Resolution
- From: Abdelali Adil
- Re: Screen Resolution
- From: Andrew Thompson
- Re: Screen Resolution
- From: Abdelali Adil
- Re: Screen Resolution
- From: RedGrittyBrick
- Re: Screen Resolution
- From: Andrew Thompson
- Re: Screen Resolution
- From: Abdelali Adil
- Re: Screen Resolution
- From: Daniel Pitts
- Re: Screen Resolution
- From: Abdelali Adil
- Re: Screen Resolution
- From: RedGrittyBrick
- Re: Screen Resolution
- From: Abdelali Adil
- Screen Resolution
- Prev by Date: Re: Screen Resolution
- Next by Date: Re: Screen Resolution
- Previous by thread: Re: Screen Resolution
- Next by thread: Re: Screen Resolution
- Index(es):
Relevant Pages
|