/** * Default constructor. */ public AbstractTabbedUI() { this.selectedRootEditor = -1; this.toolbarContainer = new JPanel(); this.toolbarContainer.setLayout(new BorderLayout()); this.tabbedPane = new JTabbedPane(SwingConstants.BOTTOM); this.tabbedPane.addChangeListener(new TabChangeHandler(this.tabbedPane)); this.rootEditors = new ArrayList(); setLayout(new BorderLayout()); add(this.toolbarContainer, BorderLayout.NORTH); add(this.tabbedPane, BorderLayout.CENTER); this.closeAction = createCloseAction(); }
/** * Default constructor. */ public AbstractTabbedUI() { this.selectedRootEditor = -1; this.toolbarContainer = new JPanel(); this.toolbarContainer.setLayout(new BorderLayout()); this.tabbedPane = new JTabbedPane(SwingConstants.BOTTOM); this.tabbedPane.addChangeListener(new TabChangeHandler(this.tabbedPane)); this.rootEditors = new ArrayList(); setLayout(new BorderLayout()); add(this.toolbarContainer, BorderLayout.NORTH); add(this.tabbedPane, BorderLayout.CENTER); this.closeAction = createCloseAction(); }
/** * Default constructor. */ public AbstractTabbedUI() { this.selectedRootEditor = -1; this.toolbarContainer = new JPanel(); this.toolbarContainer.setLayout(new BorderLayout()); this.tabbedPane = new JTabbedPane(SwingConstants.BOTTOM); this.tabbedPane.addChangeListener(new TabChangeHandler(this.tabbedPane)); this.rootEditors = new ArrayList(); setLayout(new BorderLayout()); add(this.toolbarContainer, BorderLayout.NORTH); add(this.tabbedPane, BorderLayout.CENTER); this.closeAction = createCloseAction(); }