Re: suitable layout manager?
From: Karsten Lentzsch (Karsten_at_JGoodies.com)
Date: 05/08/04
- Next message: Abs: "add keybindings to a JList ?"
- Previous message: ak: "Re: suitable layout manager?"
- In reply to: Bert: "suitable layout manager?"
- Next in thread: George: "Re: suitable layout manager?"
- Reply: George: "Re: suitable layout manager?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 08 May 2004 16:09:42 +0200
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
- Next message: Abs: "add keybindings to a JList ?"
- Previous message: ak: "Re: suitable layout manager?"
- In reply to: Bert: "suitable layout manager?"
- Next in thread: George: "Re: suitable layout manager?"
- Reply: George: "Re: suitable layout manager?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]