/** * Creates a tabbed pane. * * @return the created tabbed pane. */ protected STabbedPane createSTabbedPane() { STabbedPane tabbedPane = new STabbedPane(); tabbedPane.setPreferredSize(SDimension.FULLAREA); tabbedPane.setVerticalAlignment(SConstants.TOP_ALIGN); tabbedPane.setHorizontalAlignment(SConstants.LEFT_ALIGN); return tabbedPane; }
/** * Creates a tabbed pane. * * @return the created tabbed pane. */ protected STabbedPane createSTabbedPane() { STabbedPane tabbedPane = new STabbedPane(); tabbedPane.setPreferredSize(SDimension.FULLAREA); tabbedPane.setVerticalAlignment(SConstants.TOP_ALIGN); tabbedPane.setHorizontalAlignment(SConstants.LEFT_ALIGN); return tabbedPane; }
STabbedPane tabbedPane = new STabbedPane(); tabbedPane.addTab("Simple", null, simpleBorders, null);