Re: Screen Resolution



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

.



Relevant Pages

  • Re: New problem with Firefox
    ... This page is a great example of why they need to address this 96/120 dpi ... some with IE7 and FF2. ... and I sometimes can detect a site that may have been created in Publisher. ... @ 96 dpi - layout wanked ...
    (microsoft.public.publisher.webdesign)
  • Re: Nested GridBagLayout and its pitfals
    ... For example (part of one layout): ... It'll break your GUI designer, ... GridBagLayout, creating such a helper class is ... changing weight from 0 to 0.00000001 ...
    (comp.lang.java.programmer)
  • Re: Nested GridBagLayout and its pitfals
    ... For example (part of one layout): ... It'll break your GUI designer, ... GridBagLayout, creating such a helper class is ... Then, in the frame's gridbag, I set Y weight of one ...
    (comp.lang.java.programmer)
  • Re: Zsh + GUI
    ... define where in the window the buttons appear and maybe other things ... "Exit button" will exit the script. ... people require from a GUI (things like buttons, entry fields, text ... I've also developed a Tcl/Tk screen layout system (GRIDPLUS ...
    (comp.unix.shell)
  • Re: comp.lang.java.gui FAQ
    ... invokeAndWait is broken and should not be used without ... already build and start the GUI from the EDT". ... the window, ... The layout is not redone in such cases, ...
    (comp.lang.java.gui)