Example: PasswordOnlyDialog dialog = new PasswordOnlyDialog() System.out.println("Password=" + dialog.showDialog();
545546547548549550551552553554555556557558559
private boolean processPassword() { String password = null; Map personMap = null; SystemDBController systemController = SystemDBController.getInstance(); PasswordOnlyDialog dialog = new PasswordOnlyDialog(this, "Password"); int i =0; while (true) { password = dialog.showDialog(); if (password == null) { return false; }
1920212223242526272829
super(); } public static void main(String[] args) { PasswordOnlyDialog p = new PasswordOnlyDialog(null, "Test"); System.out.println("Pass: " + p.showDialog()); //p.dispose(); p = null; System.exit(0); }