July 22, 2003
Packer layout manager

Avoiding the GridBag: The GridBagLayout is kind of the brocoli of the Swing layout managers. It's good for you, there are people who seem to really like it, but it's brocoli. Hmmm - I like broccoli.

Anyway - this reminds me of Tk's pack geometry manager. Which is probably no coincidence.

I've not used Packer, so I may be talking out of my, uh, hat. Let's face it - it wouldn't be the first time. But I think I prefer the approach taken by RelativeLayout, very much a layout manager for the rest of us. I've used Tk's pack geometry manager, and while it worked, it was awkward.

Via Java Today.

Update 23rd July: An SWT port of RelativeLayout.

Posted to Java by Simon Brunning at July 22, 2003 03:29 PM
Comments
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?