Re: Screen Resolution



RedGrittyBrick wrote:
Andrew Thompson wrote:

Why is it important to know?

I am writing a GUI without layout manager,

That's interesting. Why are you not using a layout manager?

I agree about the interesting part. I am a strong advocate of the
fact that if there is any complexity whatsoever in a custom layout,
it should be encapsulated (written, coded) in a LayoutManager.

( Definining a custom layout manager is a lot easier than most
people think. )

OTOH - a lot of the things people expect can only be provided
by a custom LM (or a null LM) can coded using Sun standard
LMs, just by using 'nested layouts'.

--
Andrew Thompson
http://www.physci.org/

Message posted via http://www.javakb.com

.



Relevant Pages

  • Re: Screen Resolution
    ... Abdelali Adil wrote: ... I am writing a GUI without layout manager, ...
    (comp.lang.java.gui)
  • Re: Good tool for developing Swing based GUI
    ... Some people relate to code better, some to visual metaphors when writing GUI code. ... Either way, doing it by hand first will teach you what's happening, otherwise you have no control with either the hand-coding or the GUI-tool approach. ... unless you're very familiar with that particular layout manager. ... Coding the text first as one is learning often helps master the details; certainly reviewing any GUI-generated code to achieve full understanding is a necessity. ...
    (comp.lang.java.programmer)
  • Re: Added JTree to JScrollPane but no Hori Scrollbars?
    ... > Those long-time ineradicable weed in Java GUI programming field, ... I include a JPanel with a null layout in a JScrollPane, ... A JPanel with no layout manager returns, which tells the ... JScrollPane that it doesn't need to provide scrollbars. ...
    (comp.lang.java.gui)
  • Re: Is OOP really suitable for GUI development?
    ... that silly layout manager some of those bizare tools have to see how ... I like java but as a gui developer ... The old concept of the 'canvas' worked perfectly on many different ...
    (comp.object)
  • SQL Data driven GUI
    ... Given a specific GUI, I can fairly easily query the previously created ... I can store newly created user input. ... Please don't beat me up too badly for suggesting that my presentation ... that creates the specs for the GUIs to be layout manager sensitive ...
    (comp.lang.java.programmer)