I’m trying to use MultiSplitPane and MultiSplitLayout from SwingX. I know how to use MultiSplitLayout with the method parseModel (see http://today.java.net/pub/a/today/2006/03/23/multi-split-pane.html). But I don’t understand the mechanism without this method.
How to reproduce this?
String layoutDef =
"(COLUMN (ROW weight=1.0 left (COLUMN middle.top middle middle.bottom) right) bottom)";
MultiSplitLayout.Node modelRoot = MultiSplitLayout.parseModel(layoutDef);
Ok, I finally found the answer myself. You should look at the picture first to understand the code.
The picture to understand the logic behind the code.

(source: java.net)