Re: suitable layout manager?

From: George (glutz78_at_aol.com)
Date: 05/09/04


Date: 8 May 2004 20:16:36 -0700

Use the GridBagLayout all the time. it's the most flexible - anything
else is a waste of time.

Karsten Lentzsch <Karsten@JGoodies.com> wrote in message news:<c7ipn4$jv1$06$1@news.t-online.com>...
> Bert wrote:
>
> > I'm building an option Window. This Window has some JLabels and
> > JTextFields. I would like to show 1 jlabel and 1 jtextfield on a line. like:
> >
> > jlabel jtextfield
> > jlabel jtextfield
> > jlabel jtextfield
> >
> > ok cancel (centered jbuttons)
> >
> >
> > These components must keep their normal size. what layout manager is the
> > best way to do this?
>
> I provide an advanced, free and open layout manager that
> makes simple things easy and the hard stuff possible.
> It has been designed to reduce the layout production costs.
>
> FormLayout can do things you won't find in other managers.
> It supports non-pixel sizes, can give sets of columns and
> rows the same size and the whole Forms layout system is
> even more powerful. Logical variables ensure that gaps
> and minimum sizes follow the platform's layout guide lines.
>
> In your example the button order can change between
> the Mac OS X and Windows/Unix: "Cancel OK" vs. "OK Cancel".
> And your example can be built using the DefaultFormBuilder
> that lets you build every label-textfield pair with a
> single line of code.
>
> You can find more information about the Forms in the
> whitepaper, you can test drive a Demo, and download the
> library and full sources. see
> http://www.jgoodies.com/articles/forms.pdf
> http://www.jgoodies.com/freeware/formsdemo/
> http://forms.dev.java.net/
>
> Regards,
> Karsten Lentzsch