views:

272

answers:

1

I had a fairly simple dialog with a pair of JPanels of roughly equal size, contained in a JSplitPane. Now I'm looking at adding a 3rd JPanel and I'm not so sure there is an obvious solution. Is there a good window-docking framework out there? or is that a horribly complex thing to get into? If I do just stick with the 3-panel split, do I have to use a pair of nested JSplitPanes or is there an alternative that allows a 3-way split?

+3  A: 

SwingX library has JXMultiSplitPane class which allows you to create any layouts of resizable panels.

A very good article about it is at http://today.java.net/pub/a/today/2006/03/23/multi-split-pane.html

eugener
ooh! nice.... thanks, I'll take a look at it.
Jason S