Re: field name for jOptionPane when using Eclipse?

From: Sudsy (bitbucket44_at_hotmail.com)
Date: 12/30/04


Date: Thu, 30 Dec 2004 11:29:09 -0500

Chris Smith wrote:
<snip>
> 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.
<snip>

I'm in complete agreement with Chris on this one. I often sketch the
layout on a piece of paper (!) first so that I can immediately see
how the pieces fit together. Then it's just a matter of coding. You
can also see whether FlowLayout will do or if you require CardLayout
or something even more sophisticated. It makes actual development go
quite quickly...
YMMV



Relevant Pages

  • 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: Organisation of C programs
    ... > A common layout is: ... > Just point the search path to the correct directories. ... > project (that is their definition of code reuse). ...
    (comp.lang.c)
  • Minnesota Transfer layout - update
    ... > Stein in Norway ... what is going on with this layout. ... The yard will be flat switching, long enough yard drill track, 8 ...
    (rec.models.railroad)
  • 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)