public SystemPropertiesFrame(bool menu)
 {
   int num = menu ? 1 : 0;
   base.\u002Ector();
   SystemPropertiesFrame systemPropertiesFrame = this;
   ResourceBundle bundle = ResourceBundleWrapper.getBundle("org.jfree.ui.about.resources.AboutResources");
   ((Frame) this).setTitle(bundle.getString("system-frame.title"));
   this.setDefaultCloseOperation(2);
   if (num != 0)
     this.setJMenuBar(this.createMenuBar(bundle));
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel1 = new JPanel((LayoutManager) new BorderLayout());
   this.panel = new SystemPropertiesPanel();
   ((JComponent) this.panel).setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
   ((Container) jpanel1).add((Component) this.panel, (object) "Center");
   JPanel.__\u003Cclinit\u003E();
   JPanel jpanel2 = new JPanel((LayoutManager) new BorderLayout());
   ((JComponent) jpanel2).setBorder(BorderFactory.createEmptyBorder(5, 0, 0, 0));
   string @string = bundle.getString("system-frame.button.close");
   Character character = (Character) bundle.getObject("system-frame.button.close.mnemonic");
   JButton jbutton = new JButton(@string);
   ((AbstractButton) jbutton).setMnemonic(character.charValue());
   ((AbstractButton) jbutton).setActionCommand("CLOSE");
   ((AbstractButton) jbutton).addActionListener((ActionListener) this);
   ((Container) jpanel2).add((Component) jbutton, (object) "East");
   ((Container) jpanel1).add((Component) jpanel2, (object) "South");
   this.setContentPane((Container) jpanel1);
 }
Example #2
0
 private JTabbedPane createTabs([In] ProjectInfo obj0)
 {
   JTabbedPane jtabbedPane = new JTabbedPane();
   JPanel aboutPanel = this.createAboutPanel(obj0);
   ((JComponent) aboutPanel).setBorder(AboutDialog.__\u003C\u003ESTANDARD_BORDER);
   string string1 = this.resources.getString("about-frame.tab.about");
   jtabbedPane.add(string1, (Component) aboutPanel);
   SystemPropertiesPanel systemPropertiesPanel = new SystemPropertiesPanel();
   ((JComponent) systemPropertiesPanel).setBorder(AboutDialog.__\u003C\u003ESTANDARD_BORDER);
   string string2 = this.resources.getString("about-frame.tab.system");
   jtabbedPane.add(string2, (Component) systemPropertiesPanel);
   return jtabbedPane;
 }
 internal SystemPropertiesPanel\u00241([In] SystemPropertiesPanel obj0)
 {
   base.\u002Ector();
   SystemPropertiesPanel\u00241 propertiesPanel1 = this;
   this.this\u00240 = obj0;
 }