javax.swing
Interface WindowConstants

All Known Implementing Classes:
JDialog, JFrame, JInternalFrame

public interface WindowConstants

Defines some constants that are used in Swing's top-level containers. See the following methods:


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

DO_NOTHING_ON_CLOSE

static final int DO_NOTHING_ON_CLOSE
Do nothing when the container is closed.

See Also:
Constant Field Values

HIDE_ON_CLOSE

static final int HIDE_ON_CLOSE
Hide the container when it is closed.

See Also:
Constant Field Values

DISPOSE_ON_CLOSE

static final int DISPOSE_ON_CLOSE
Dispose the container when it is closed.

See Also:
Window#dispose(), Constant Field Values

EXIT_ON_CLOSE

static final int EXIT_ON_CLOSE
Exit the application when the container is closed.

Since:
1.4
See Also:
System.exit(int), Constant Field Values