| Constructor and Description |
|---|
Windows()
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Window |
setCloseOnEscape(T window)
Adds an action to a window's root pane that closes the window when the user presses the escape key.
|
public static <T extends Window& RootPaneContainer > void setCloseOnEscape(T window)
window - the window to use.