Class Windows



  • public class Windows
    extends Object
    Helper methods for Windows.
    • Constructor Detail

      • Windows

        public Windows()
    • Method Detail

      • setCloseOnEscape

        public static <T extends Window & RootPaneContainer> void setCloseOnEscape(T window)
        Adds an action to a window's root pane that closes the window when the user presses the escape key.
        Parameters:
        window - the window to use.