Class PasswordSetDialogController


  • public class PasswordSetDialogController
    extends java.lang.Object
    A simple modal dialog for prompting the user to set a password. The user must confirm the password by entering it again in a second field.

    The password is required to be:

    • Not empty
    • Equal to the confirmation password (which must also not be empty)
    Any other validation is left to the caller.

    The result will be empty when the user cancels the dialog. When the result is present, the caller is responsible for wiping the char[] after use.

    • Constructor Detail

      • PasswordSetDialogController

        public PasswordSetDialogController()
    • Method Detail

      • show

        public void show​(java.awt.Window parent)