|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WindowConstants
Defines some constants that are used in Swing's top-level containers. See the following methods:
JFrame.setDefaultCloseOperation(int)
;JInternalFrame.setDefaultCloseOperation(int)
;JDialog.setDefaultCloseOperation(int)
;
Field Summary | |
---|---|
static int |
DISPOSE_ON_CLOSE
Dispose the container when it is closed. |
static int |
DO_NOTHING_ON_CLOSE
Do nothing when the container is closed. |
static int |
EXIT_ON_CLOSE
Exit the application when the container is closed. |
static int |
HIDE_ON_CLOSE
Hide the container when it is closed. |
Field Detail |
---|
static final int DO_NOTHING_ON_CLOSE
static final int HIDE_ON_CLOSE
static final int DISPOSE_ON_CLOSE
Window#dispose()
,
Constant Field Valuesstatic final int EXIT_ON_CLOSE
System.exit(int)
,
Constant Field Values
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |