Class PasswordSetDialogController

java.lang.Object
org.omegat.gui.dialogs.PasswordSetDialogController

public class PasswordSetDialogController extends 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 Details

    • PasswordSetDialogController

      public PasswordSetDialogController()
  • Method Details