Changeset 720 for AE/installer2/src/net/oni2/aeinstaller/gui/toolmanager
- 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/toolmanager/ToolManager.java
r708 r720 17 17 import javax.swing.KeyStroke; 18 18 19 import net.oni2.SettingsManager; 19 20 import net.oni2.aeinstaller.backend.oni.Installer; 20 21 import net.oni2.aeinstaller.backend.packages.Package; … … 24 25 import net.oni2.aeinstaller.gui.modtable.ModTable.ETableContentType; 25 26 import net.oni2.aeinstaller.gui.packageinfobox.PackageInfoBox; 26 import net.oni2.settingsmanager.Settings;27 27 28 28 import org.javabuilders.BuildResult; … … 73 73 getRootPane().getActionMap().put("close", closeAction); 74 74 75 contents.setDividerLocation(Settings .getInstance().get("win_tools_divloc", 550));75 contents.setDividerLocation(SettingsManager.getInstance().get("win_tools_divloc", 550)); 76 76 contents.setResizeWeight(0.4); 77 77 … … 87 87 SwingJavaBuilder.getConfig().getResource("img.uninstall"))); 88 88 89 setSize(Settings .getInstance().get("win_tools_width", 950), Settings.getInstance().get("win_tools_height", 600));89 setSize(SettingsManager.getInstance().get("win_tools_width", 950), SettingsManager.getInstance().get("win_tools_height", 600)); 90 90 setLocationRelativeTo(null); 91 91 } … … 100 100 } else { 101 101 if (!selectedPackage.isLocalAvailable()) { 102 if (Settings .getInstance().isOfflineMode()) {102 if (SettingsManager.getInstance().isOfflineMode()) { 103 103 JOptionPane.showMessageDialog(this, 104 104 bundle.getString("offlineMode.text"), … … 152 152 @SuppressWarnings("unused") 153 153 private void closing() { 154 Settings .getInstance().put("win_tools_divloc", contents.getDividerLocation());155 Settings .getInstance().put("win_tools_width", getWidth());156 Settings .getInstance().put("win_tools_height", getHeight());154 SettingsManager.getInstance().put("win_tools_divloc", contents.getDividerLocation()); 155 SettingsManager.getInstance().put("win_tools_width", getWidth()); 156 SettingsManager.getInstance().put("win_tools_height", getHeight()); 157 157 } 158 158 }
Note:
See TracChangeset
for help on using the changeset viewer.