Changeset 625 for AE/installer2/src/net/oni2/aeinstaller/gui
- Timestamp:
- Jan 16, 2013, 5:12:24 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/gui
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
r624 r625 65 65 import net.oni2.aeinstaller.gui.modtable.ModTableModel; 66 66 import net.oni2.aeinstaller.gui.settings.SettingsDialog; 67 import net.oni2.aeinstaller.gui.toolmanager.ToolManager; 67 68 68 69 import org.javabuilders.BuildResult; … … 428 429 @SuppressWarnings("unused") 429 430 private void tools() { 430 // TODO: Open tools manager 431 JOptionPane.showMessageDialog(this, "tools", "todo", 432 JOptionPane.INFORMATION_MESSAGE); 431 new ToolManager().setVisible(true); 433 432 } 434 433 -
AE/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.java
r609 r625 34 34 35 35 private JCheckBox chkNotifyOnStart; 36 private JCheckBox chkCopyIntro; 37 private JCheckBox chkCopyOutro; 36 38 37 39 /** … … 40 42 public SettingsDialog() { 41 43 setResizable(false); 42 // setMinimumSize(new Dimension(320, (int) getSize().getHeight() + 0));43 44 44 45 AbstractAction closeAction = new AbstractAction() { … … 67 68 68 69 chkNotifyOnStart.setSelected(set.get("notifyupdates", true)); 70 chkCopyIntro.setSelected(set.get("copyintro", false)); 71 chkCopyOutro.setSelected(set.get("copyoutro", true)); 69 72 } 70 73 … … 73 76 Settings set = Settings.getInstance(); 74 77 75 set.get("notifyupdates", chkNotifyOnStart.isSelected()); 78 set.put("notifyupdates", chkNotifyOnStart.isSelected()); 79 set.put("copyintro", chkCopyIntro.isSelected()); 80 set.put("copyoutro", chkCopyOutro.isSelected()); 76 81 77 82 String oldLaf = set.get("lookandfeel", UIManager.getLookAndFeel() -
AE/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.properties
r608 r625 8 8 panCommon=Common settings 9 9 lblNotifyOnStart=Notify about updates on startup: 10 lblCopyIntro=Enable starting video on installation: 11 lblCopyOutro=Enable ending video on installation: 10 12 11 13 newLaF.text=A new GUI theme was selected.\nPlease restart the application in order to apply the changes. -
AE/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.yml
r608 r625 13 13 - JLabel(name=lblNotifyOnStart, text=lblNotifyOnStart) 14 14 - JCheckBox(name=chkNotifyOnStart) 15 - JLabel(name=lblCopyIntro, text=lblCopyIntro) 16 - JCheckBox(name=chkCopyIntro) 17 - JLabel(name=lblCopyOutro, text=lblCopyOutro) 18 - JCheckBox(name=chkCopyOutro) 15 19 - MigLayout: | 16 20 [min] [grow] 17 21 >lblNotifyOnStart chkNotifyOnStart [pref] 22 >lblCopyIntro chkCopyIntro [pref] 23 >lblCopyOutro chkCopyOutro [pref] 18 24 - JPanel(name=panUI, groupTitle=panUI): 19 25 - JLabel(name=lblLaF, text=lblLaF)
Note:
See TracChangeset
for help on using the changeset viewer.