public VerticalTabbedPane(int tabPlacement) { super(tabPlacement); tabsVertical = (tabPlacement == LEFT || tabPlacement == RIGHT); setUI(new VerticalTabbedPaneUI(tabsVertical));
public VerticalTabbedPane() { this(TOP);
	public VerticalTabbedPane(int tabPlacement) {		super(tabPlacement);		tabsVertical = (tabPlacement == LEFT || tabPlacement == RIGHT);		setUI(new VerticalTabbedPaneUI(tabsVertical));		// MM: need to do this outside of this class to keep it generic	/*	addChangeListener(	new ChangeListener() {			public void stateChanged(ChangeEvent evt) {				JTabbedPane pane = (JTabbedPane)evt.getSource();				MatrixTree currentTree = ( (BasicView) ( pane.getComponentAt(pane.getSelectedIndex()) ) ).getTree();				for (int i = 0; i < pane.getTabCount(); i++) {					MatrixTree tree = ( (BasicView) ( pane.getComponentAt(i) ) ).getTree();					TreePath[] path = new TreePath[1];					path[0] = tree.getCuePath();					if (path != null) {						currentTree.startCueMode(path);						tree.stopCueMode();						break;					}				}			}		});*/	}