Changeset 701 for AE/installer2/src/net/oni2/aeinstaller/gui/toolmanager
- Timestamp:
- Mar 18, 2013, 1:44:07 AM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/gui/toolmanager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/gui/toolmanager/ToolManager.java
r699 r701 73 73 getRootPane().getActionMap().put("close", closeAction); 74 74 75 contents.setDividerLocation( 550);75 contents.setDividerLocation(Settings.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 90 setLocationRelativeTo(null); 90 91 } … … 148 149 } 149 150 } 151 152 @SuppressWarnings("unused") 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()); 157 } 150 158 } -
AE/installer2/src/net/oni2/aeinstaller/gui/toolmanager/ToolManager.yml
r658 r701 7 7 iconImage: img.ae 8 8 modalityType: applicationModal 9 onWindowClosing: [closing] 9 10 content: 10 11 - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
Note:
See TracChangeset
for help on using the changeset viewer.