Java Code Examples for javax.swing.JFrame.getDefaultCloseOperation()
The following are Jave code examples for showing how to use
getDefaultCloseOperation() of the
javax.swing.JFrame
class.
You can vote up the examples you like. Your votes will be used in our system to get
more good examples.
+ Save this method
Example 1
Project: Logisim File: WindowMenuItemManager.java View Source Code | 5 votes |
@Override public void windowClosing(WindowEvent event) { JFrame frame = getJFrame(false); if (frame.getDefaultCloseOperation() == WindowConstants.HIDE_ON_CLOSE) { removeFromManager(); } }