Re: field name for jOptionPane when using Eclipse?

From: Chris Smith (cdsmith_at_twu.net)
Date: 12/30/04


Date: Thu, 30 Dec 2004 09:20:15 -0700

ted holden <uwbear@verizon.net> wrote:
> I'm assuming that the server for this app will run under linux and that
> 99.999% of all clients will be running windows. Based on what I've seen,
> I'd rather deal with any problems which come up than try to deal with java
> layouts.

Do what you like. You should know, though, that use of layout managers
for Java applications is universally considered a bare minimum
requirement for writing professional quality code. Should you ever end
up writing code for someone else, they are almost certain to insist upon
it (unless they just aren't technical, in which case you could get away
with a shoddy job, I suppose).

> In fact I've stitched Tcl/Tk guis together by hand using the
> layout system Tk provides and I don't remember there being any unholy level
> of grief doing so.

Speaking of coding stuff by hand, it's worth mentioning that a fair
number of people (myself included, actually) hold the belief that it's
actually easier to build Java GUIs by hand rather than use a visual GUI
designer. The reason is that layout managers actually give you a much
higher-level view of the GUI layout. So while a GUI builder is
necessary, for example, in Visual Basic to prevent specifying pixel
coordinates for everything, they can just get in the way in Java.

Before that's true, though, you'd need to learn how all the major layout
managers actually work. I don't know, at this point, if your problems
are with Ecplise VE, or with the layout managers you're trying to use.
I can tell you that I tried to use Eclipse VE once about six months ago.
After an extremely frustrating afternoon, I went back to coding GUIs by
hand. I might wait until the project is more mature, and then try
again.

-- 
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation


Relevant Pages

  • Re: field name for jOptionPane when using Eclipse?
    ... There seem to be several layout models in Java, ... Layout managers, in short, are critical to writing a well-designed GUI ... It may be that the GUI builder (like ...
    (comp.lang.java.programmer)
  • Re: Oh man!
    ... The big difference is that many people have not coded Java correctly. ... If you use proper Layout Managers, then your Java Frames, Dialogs, etc. are pretty much XPlatform. ... Java 6 is even better and the speed of GUI apps is greatly improved. ... var label = new Label; ...
    (borland.public.delphi.non-technical)
  • Re: JDK 1.5 Tiger Layout Manager Problems anyone?
    ... but the GUI was messed up with what appear to be layout ... Changes should be minimal in the Java l&f, ... component sizes have changed. ...
    (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 ... changing weight from 0 to 0.00000001 ...
    (comp.lang.java.programmer)
  • Re: Desire to unify UI for HyperCard VisualBasic Java and HTMLform
    ... > how are VB layouts more flexible than the standard Java layout ... Well I suppose with extremely contorted mis-use of GridBagLayout you ... standard layout managers in the expected way, ... manager in Java, just manually place each component by explicit x,y ...
    (comp.programming)