()
| 195 | } |
| 196 | |
| 197 | private void initSettings() |
| 198 | { |
| 199 | setSize(1060, 725); //this is the default frame dimensions |
| 200 | |
| 201 | setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); |
| 202 | addWindowListener(new WindowAdapter() |
| 203 | { |
| 204 | |
| 205 | @Override |
| 206 | public void windowClosing(WindowEvent e) |
| 207 | { |
| 208 | PCGenUIManager.closePCGen(); |
| 209 | } |
| 210 | |
| 211 | }); |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * This is called after initialization and starts up the PCGenFrame |