javax.swing

Interface WindowConstants

public interface WindowConstants

Defines some constants that are used in Swing's top-level containers. See the following methods:
Field Summary
intDISPOSE_ON_CLOSE
Dispose the container when it is closed.
intDO_NOTHING_ON_CLOSE
Do nothing when the container is closed.
intEXIT_ON_CLOSE
Exit the application when the container is closed.
intHIDE_ON_CLOSE
Hide the container when it is closed.

Field Detail

DISPOSE_ON_CLOSE

public int DISPOSE_ON_CLOSE
Dispose the container when it is closed.

See Also: Window#dispose()

DO_NOTHING_ON_CLOSE

public int DO_NOTHING_ON_CLOSE
Do nothing when the container is closed.

EXIT_ON_CLOSE

public int EXIT_ON_CLOSE
Exit the application when the container is closed.

Since: 1.4

See Also:

HIDE_ON_CLOSE

public int HIDE_ON_CLOSE
Hide the container when it is closed.