setContentPane(createContentPane());
}
private Container createContentPane() {
port = new DefaultDockingPort();
Titlepane pane1 = new Titlepane("View 1");
Titlepane pane2 = new Titlepane("View 2");
Titlepane pane3 = new Titlepane("View 3");
Titlepane pane4 = new Titlepane("View 4");
Titlepane pane5 = new Titlepane("View 5");
DockingManager.dock(pane1, (DockingPort)port);
DockingManager.dock(pane2, pane1, DockingConstants.NORTH_REGION, 0.3f);
DockingManager.dock(pane3, pane1, DockingConstants.SOUTH_REGION);
DockingManager.dock(pane4, pane1, DockingConstants.EAST_REGION, 0.3f);