The current release version, 3.9.5, supports the
org.jdesktop.layout.GroupLayout that you can find as part of the Swing Layout project. As I understand it, this is essentially the incubator version of the layout that has since moved into Java 6 and become
javax.swing.GroupLayout. There is a milestone build of Jigloo, 4.0M1, that supports both the Java 6 version and the Swing Layout versions of the layout manager (there’s a checkbox on the “Code Generation” page of the preferences).
I’ve been playing with it for about an hour and it works well. I’ve used it to import an existing user interface created with another IDE and it worked great. Jigloo didn’t even complain that I neglected to include the corresponding .form file. And, of course, you can make changes in the Java source editor or the visual assembly area and it does the right thing.
It’s not perfect (it seems to lose right-alignment layout information when you make changes), but it’s quite good for a milestone release. Watch the CloudGarden forums for the availability announcement of milestone 2 (4.0M2) sometime in the next couple of days.
There’s a cool button in the outline view that switches a layout between Swing and SWT. I’ve only clicked on it once and the results weren’t pretty (no GroupLayout in SWT), but I’m definitely going to spend some quality time trying to sort out how useful this can be for migrating existing Swing-based user interfaces into RCP components. I’m getting that excited tingle…
Jigloo isn’t your only choice for editing GroupLayouts. WindowBuilder also provides this functionality.
Jigloo is free for non-commercial use.