splitPane.setFocusCycleRoot(true);
contentPane = new JPanel();
if (anchor == ToolWindowAnchor.LEFT || anchor == ToolWindowAnchor.RIGHT) {
horizontal = false;
contentPane.setLayout(new ExtendedTableLayout(new double[][]{COLUMNS, {0}}));
orientation = JSplitPane.VERTICAL_SPLIT;
} else if (anchor == ToolWindowAnchor.TOP || anchor == ToolWindowAnchor.BOTTOM) {
horizontal = true;
contentPane.setLayout(new ExtendedTableLayout(new double[][]{{0}, ROWS}));
orientation = JSplitPane.HORIZONTAL_SPLIT;
}
toolScrollBar = new JToolScrollBar(orientation, contentPane);