public class PasswordEnterDialogController
extends java.lang.Object
The password is required to be non-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 and Description |
---|
PasswordEnterDialogController() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<char[]> |
getResult()
When the result is present, the caller is responsible for wiping the
char[] after use! |
void |
show(java.awt.Window parent,
java.lang.String message) |