dialog.choice(OptionDialog.CHOICE_OK);
}
});
}
if (dialog.dialogPrompt(null, Messages.getString("AuthenticationDialog.title")) == OptionDialog.CHOICE_OK) { //$NON-NLS-1$
authenticator.setCredentials(new PasswordCredentials(username.getText().trim(), password.getText()));
if (authenticator instanceof NTLMAuthentication && !domain.getText().trim().equals("")) { //$NON-NLS-1$
((NTLMAuthentication) authenticator).setDomain(domain.getText().trim());
}
return true;