- The property names are a bit strange, since they have to accommodate either a 
horizontal or a vertical orientation.

In JavaFX 2.0 they removed the property names and went with just adding components to it, in the same manner you do with most other layout containers:

http://fxexperience.com/2011/06/splitpane-in-javafx-2-0/

A Resizer component (or "Sash") could potentially provide the resizing 
capability, and these could be used within different layout containers (primarily BoxPane 
and TablePane, I would imagine) to create various configurable layouts.

In SWT, a Sash just sits between components:

Shell shell = new Shell(display);
Button button1 = new Button(shell, SWT.PUSH);
button1.setText("Button 1");

Sash sash = new Sash(shell, SWT.VERTICAL);

Button button2 = new Button(shell, SWT.PUSH);
button2.setText("Button 2");


-- Edvin

Reply via email to