org.eclipse.jface.dialogs.Dialog.applyDialogFont(parent);
setControl(parent);
}
protected void restorePassword(String username) {
final PasswordCacheHelper pwStorage = new PasswordCacheHelper(username);
final String pw = pwStorage.retrievePassword();
if (pw != null) {
passwordText.setText(pw);
passwordText.setSelection(0, pw.length());
}
}