/** * Creates a tabbed pane containing an about panel and a system properties panel. * * @return a tabbed pane. * @param project */ private JTabbedPane createTabs(final ProjectInfo project) { final JTabbedPane tabs = new JTabbedPane(); final JPanel aboutPanel = createAboutPanel(project); aboutPanel.setBorder(AboutFrame.STANDARD_BORDER); final String aboutTab = this.resources.getString("about-frame.tab.about"); tabs.add(aboutTab, aboutPanel); final JPanel systemPanel = new SystemPropertiesPanel(); systemPanel.setBorder(AboutFrame.STANDARD_BORDER); final String systemTab = this.resources.getString("about-frame.tab.system"); tabs.add(systemTab, systemPanel); return tabs; }
/** * Creates a tabbed pane containing an about panel and a system properties * panel. * * @return a tabbed pane. * @param project */ private JTabbedPane createTabs(final ProjectInfo project) { final JTabbedPane tabs = new JTabbedPane(); final JPanel aboutPanel = createAboutPanel(project); aboutPanel.setBorder(AboutFrame.STANDARD_BORDER); final String aboutTab = this.resources.getString( "about-frame.tab.about"); tabs.add(aboutTab, aboutPanel); final JPanel systemPanel = new SystemPropertiesPanel(); systemPanel.setBorder(AboutFrame.STANDARD_BORDER); final String systemTab = this.resources.getString( "about-frame.tab.system"); tabs.add(systemTab, systemPanel); return tabs; }
/** * Creates a tabbed pane containing an about panel and a system properties * panel. * * @return a tabbed pane. * @param project */ private JTabbedPane createTabs(final ProjectInfo project) { final JTabbedPane tabs = new JTabbedPane(); final JPanel aboutPanel = createAboutPanel(project); aboutPanel.setBorder(AboutFrame.STANDARD_BORDER); final String aboutTab = this.resources.getString( "about-frame.tab.about"); tabs.add(aboutTab, aboutPanel); final JPanel systemPanel = new SystemPropertiesPanel(); systemPanel.setBorder(AboutFrame.STANDARD_BORDER); final String systemTab = this.resources.getString( "about-frame.tab.system"); tabs.add(systemTab, systemPanel); return tabs; }