Changeset 840 for java/installer2/src/net/oni2/aeinstaller/gui/toolmanager
- Timestamp:
- Apr 30, 2013, 2:05:15 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/gui/toolmanager/ToolManager.java
r804 r840 25 25 import net.oni2.aeinstaller.gui.modtable.ModTable.ETableContentType; 26 26 import net.oni2.aeinstaller.gui.packageinfobox.PackageInfoBox; 27 import net.oni2.resourcebundle.UTF8ResourceBundleLoader; 27 28 28 29 import org.javabuilders.BuildResult; … … 35 36 private static final long serialVersionUID = 343221630538866384L; 36 37 37 private ResourceBundle bundle = ResourceBundle38 private ResourceBundle bundle = UTF8ResourceBundleLoader 38 39 .getBundle("net.oni2.aeinstaller.localization." 39 40 + getClass().getSimpleName()); … … 73 74 getRootPane().getActionMap().put("close", closeAction); 74 75 75 contents.setDividerLocation(SettingsManager.getInstance().get("win_tools_divloc", 550)); 76 contents.setDividerLocation(SettingsManager.getInstance().get( 77 "win_tools_divloc", 550)); 76 78 contents.setResizeWeight(0.4); 77 79 … … 87 89 SwingJavaBuilder.getConfig().getResource("img.uninstall"))); 88 90 89 setSize(SettingsManager.getInstance().get("win_tools_width", 950), SettingsManager.getInstance().get("win_tools_height", 600)); 91 setSize(SettingsManager.getInstance().get("win_tools_width", 950), 92 SettingsManager.getInstance().get("win_tools_height", 600)); 90 93 setLocationRelativeTo(null); 91 94 } … … 149 152 } 150 153 } 151 154 152 155 @SuppressWarnings("unused") 153 156 private void closing() { 154 SettingsManager.getInstance().put("win_tools_divloc", contents.getDividerLocation()); 157 SettingsManager.getInstance().put("win_tools_divloc", 158 contents.getDividerLocation()); 155 159 SettingsManager.getInstance().put("win_tools_width", getWidth()); 156 160 SettingsManager.getInstance().put("win_tools_height", getHeight());
Note:
See TracChangeset
for help on using the changeset viewer.