| javax.swing.WindowConstants
All known Subclasses: javax.swing.JFrame, javax.swing.JDialog, javax.swing.JInternalFrame,
Field Summary | |
final public static int | DISPOSE_ON_CLOSE The dispose-window default window close operation.
Note: When the last displayable window
within the Java virtual machine (VM) is disposed of, the VM may
terminate. | final public static int | DO_NOTHING_ON_CLOSE The do-nothing default window close operation. | final public static int | EXIT_ON_CLOSE The exit application default window close operation. | final public static int | HIDE_ON_CLOSE |
DO_NOTHING_ON_CLOSE | final public static int DO_NOTHING_ON_CLOSE(Code) | | The do-nothing default window close operation.
|
EXIT_ON_CLOSE | final public static int EXIT_ON_CLOSE(Code) | | The exit application default window close operation. Attempting
to set this on Windows that support this, such as
JFrame , may throw a SecurityException based
on the SecurityManager .
It is recommended you only use this in an application.
since: 1.4 See Also: JFrame.setDefaultCloseOperation |
HIDE_ON_CLOSE | final public static int HIDE_ON_CLOSE(Code) | | The hide-window default window close operation
|
|
|