public static String inputPassword(Frame owner, String loginName) {
		PasswordDialog dialog = new PasswordDialog(owner, loginName);
		dialog.setLocation(owner.getLocation());
		dialog.setVisible(true);
		return String.copyValueOf(dialog.password.getPassword());
	}