Class CustomDialog

    • Constructor Detail

      • CustomDialog

        public CustomDialog​(Frame owner,
                            String title,
                            String message,
                            String btnString1,
                            String btnString2)
        Creates the reusable dialog.
    • Method Detail

      • getValidatedText

        public String getValidatedText()
        Returns null if the typed string was invalid; otherwise, returns the string as the user entered it.
      • clearAndHide

        public void clearAndHide()
        This method clears the dialog and hides it.