<< March 9, 2011 | Home | March 11, 2011 >>


I've been playing with Swing lately. The layout managers are quite a challenge and a UI with any kind of complexity beyond simple things quickly degenerates into gobs of unmaintainable code. It's no wonder that frustrated users usually end up using a gui/code generation tool. I generally prefer hand written code or declarative markup for UIs.

So if you're sick of laying out components in swing by hand, take a look at the MigLayout layout manager. It will solve all your problems.

No wonder it's item #3 in the list of most requested RFEs for java.