return group;
}
});
// Init gui
contentPaneLayout = new ExtendedTableLayout(new double[][]{{0, TableLayout.FILL, 0}, {0, TableLayout.FILL, 0}});
setLayout(contentPaneLayout);
// Register bars, one for every anchor
addBar(LEFT, JSplitPane.HORIZONTAL_SPLIT, "0,1", "0,0,c,c");
addBar(RIGHT, JSplitPane.HORIZONTAL_SPLIT, "2,1", "2,0,c,c");
addBar(TOP, JSplitPane.VERTICAL_SPLIT, "1,0", "2,2,c,c");
addBar(BOTTOM, JSplitPane.VERTICAL_SPLIT, "1,2", "0,2,c,c");
mainContainer = new JPanel();
mainContainer.setName("toolWindowManager.mainContainer");
mainContainer.setBackground(Color.GRAY);
mainContainer.setLayout(new ExtendedTableLayout(new double[][]{{-1}, {-1}}));
mainContainer.setFocusCycleRoot(true);
getBar(BOTTOM).getSplitPane().setTopComponent(getBar(TOP).getSplitPane());
getBar(TOP).getSplitPane().setBottomComponent(getBar(LEFT).getSplitPane());
getBar(LEFT).getSplitPane().setRightComponent(getBar(RIGHT).getSplitPane());