Changeset 720 for AE/installer2/src/net/oni2/aeinstaller/gui/corepackages
- Timestamp:
- Mar 21, 2013, 12:33:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/gui/corepackages/CorePackagesDialog.java
r708 r720 12 12 import javax.swing.KeyStroke; 13 13 14 import net.oni2.SettingsManager; 14 15 import net.oni2.aeinstaller.backend.packages.Package; 15 16 import net.oni2.aeinstaller.gui.modtable.ModSelectionListener; … … 17 18 import net.oni2.aeinstaller.gui.modtable.ModTable.ETableContentType; 18 19 import net.oni2.aeinstaller.gui.packageinfobox.PackageInfoBox; 19 import net.oni2.settingsmanager.Settings;20 20 21 21 import org.javabuilders.BuildResult; … … 60 60 getRootPane().getActionMap().put("close", closeAction); 61 61 62 contents.setDividerLocation(Settings .getInstance().get("win_core_divloc", 550));62 contents.setDividerLocation(SettingsManager.getInstance().get("win_core_divloc", 550)); 63 63 contents.setResizeWeight(0.4); 64 64 … … 69 69 tblTools.addModSelectionListener(this); 70 70 71 setSize(Settings .getInstance().get("win_core_width", 950), Settings.getInstance().get("win_core_height", 600));71 setSize(SettingsManager.getInstance().get("win_core_width", 950), SettingsManager.getInstance().get("win_core_height", 600)); 72 72 setLocationRelativeTo(null); 73 73 } … … 80 80 @SuppressWarnings("unused") 81 81 private void closing() { 82 Settings .getInstance().put("win_core_divloc", contents.getDividerLocation());83 Settings .getInstance().put("win_core_width", getWidth());84 Settings .getInstance().put("win_core_height", getHeight());82 SettingsManager.getInstance().put("win_core_divloc", contents.getDividerLocation()); 83 SettingsManager.getInstance().put("win_core_width", getWidth()); 84 SettingsManager.getInstance().put("win_core_height", getHeight()); 85 85 } 86 86 }
Note:
See TracChangeset
for help on using the changeset viewer.