alanwilliamson
In the end I gave up. Resorted to hand coding the GridBagLayout positioning as I wished. For the HTML experts among you, laying out controls using GridBagLayout is very similar to how you would use an HTML table for positioning. If you find yourself struggling to get the look you are after, then think how you would do it with an HTML table and you'll be more than halfway there. GridBagConstraints gives you the sort of the control you would find in TD and TR tags of the HTML table.
It is a shame the Visual Editor let me down there, I was hoping that I could have done the whole thing via drag'n'drop. Visual Studio from Microsoft doesn't seem to suffer from the same short comings, allowing me to drag'n'drop with extreme ease to produce a layout that will work in all window sizes. Visual Editor has brought a huge boost to the Eclipse world, it still has a little way to go. I'll freely admit I have no idea what the likes of Borland and IntelliJ do in this arena.
Comments
please note, all comments will be moderated for spam and abuse before being publicly posted.
Article Details
- Published:
11:04 PM GMT, Thursday, 8 April 2004 - Categories:
Technical - Comments:
2 left; add comment
Related Articles
Article Archives


Alan, Have a look at UICompiler for Java. A wonderfull piece of technology based on QtDesigner......
Klaasjan Tukker
I have found jgoodies.com Forms to be a very easy and comprehensive layout manager to work with. Works great for any kind of layout, is intuitive and very close to html table layouts. I find it to be a good deal easier than GridBagLayout. It is designed for form layout, but works just like an HTML table, you can do anything with it. best of luck.
doubtintom