public void addTool(XTool xtool, String title) {
if (jsplitPane == null) {
// create the split pane
this.remove(xtabbedEditorPanel);
xtabbedToolPanel = new XTabbedPanel(SwingConstants.LEFT);
jsplitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, xtabbedToolPanel, xtabbedEditorPanel);
this.add(jsplitPane, BorderLayout.CENTER);
}
Icon icon = new VTextIcon(xtool, title, VTextIcon.ROTATE_LEFT);
Component comp = new XButtonTabComponent(xtool, icon);