Changeset 701 for AE/installer2/src/net/oni2/aeinstaller/gui/corepackages
- Timestamp:
- Mar 18, 2013, 1:44:07 AM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/gui/corepackages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/gui/corepackages/CorePackagesDialog.java
r658 r701 12 12 import javax.swing.KeyStroke; 13 13 14 import net.oni2.aeinstaller.backend.Settings; 14 15 import net.oni2.aeinstaller.backend.packages.Package; 15 16 import net.oni2.aeinstaller.gui.modtable.ModSelectionListener; … … 59 60 getRootPane().getActionMap().put("close", closeAction); 60 61 61 contents.setDividerLocation( 550);62 contents.setDividerLocation(Settings.getInstance().get("win_core_divloc", 550)); 62 63 contents.setResizeWeight(0.4); 63 64 … … 68 69 tblTools.addModSelectionListener(this); 69 70 71 setSize(Settings.getInstance().get("win_core_width", 950), Settings.getInstance().get("win_core_height", 600)); 70 72 setLocationRelativeTo(null); 71 73 } … … 75 77 pkgInfo.updateInfo(mod); 76 78 } 79 80 @SuppressWarnings("unused") 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()); 85 } 77 86 } -
AE/installer2/src/net/oni2/aeinstaller/gui/corepackages/CorePackagesDialog.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.