Použití, např: OptionsTabbedPaneUI optsTabPaneUI = new OptionsTabbedPaneUI(); myTabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); myTabbedPane.setUI(optsTabPaneUI); @author Martin Pokorný @version 0.1
OptionsTabbedPaneUI optsTabPaneUI = new OptionsTabbedPaneUI(); myTabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); myTabbedPane.setUI(optsTabPaneUI);
3334353637383940414243
/** * */ private void init() { OptionsTabbedPaneUI optsTabPaneUI = new OptionsTabbedPaneUI(); this.setUI(optsTabPaneUI); this.setTabPlacement(JTabbedPane.LEFT); this.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);