setDefaultCloseOperation(int) *2
JDK Doc(JAVA)Download this dictionary
setDefaultCloseOperation(int) *2
- Method in class javax.swing.JDialog 
public void setDefaultCloseOperation (int operation)
Sets the operation which will happen by default when the user initiates a "close" on this dialog. The possible choices are: The value is set to HIDE_ON_CLOSE by default.See Also:  Window.addWindowListener(java.awt.event.WindowListener) , getDefaultCloseOperation()