- Timestamp:
- 05/04/2016 04:57:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/client/cadclientgui/screens/CADMenu.java
r3 r38 22 22 import javax.swing.JFrame; 23 23 import javax.swing.JLabel; 24 import static javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE; 24 25 25 26 /** … … 86 87 setFocusable(true); 87 88 pack(); 88 setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); 89 // Unsure why this was "do nothing" because it prevents the Menu frame 90 // from closing so the user can't terminate the application. 91 // setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); 92 setDefaultCloseOperation(EXIT_ON_CLOSE); 89 93 setVisible(false); 90 94 }
Note: See TracChangeset
for help on using the changeset viewer.
