Excellent Swing layout thread on Javalobby
by Kevin Dangoor
If you saw the amusing GridBag cartoon from a few days back and are wondering how you can actually get your layouts to work, take a look at this Javalobby thread. Great stuff packed in there. I’ve had good luck with both FormLayout and ExplicitLayout, and this thread pointed me to Explicit TableLayout which uses ExplicitLayout to conveniently create table-like layouts.
TableLayout (google it..forget the info.something site) is the best layout so far that I ahve worked with. Works like a charm, super easy to use. I’ll have to check out this Eclicit TableLayout. Seems similar by name.
http://easygridbag.sourceforge.net will help you build interactively a complex GridBagLayout.
Add these two to your list.
http://easylayouts.sourceforge.net/examples.html
and
http://gsbase.sourceforge.net/apidocs/com/gargoylesoftware/base/gui/TableLayout.html
+1 ExplicityLayout:
Simple, straightfoward, makes sense and is amazingly flexible, but only when you need it to be!
Correction:
-0.5 ExplicitLayout
+1.0 ExplicitTableLayout
Woops!
good
i wanna know the default layouts in swing
plz send me the reply