GP-2986 - ComponentProvder and dialog cleanup on dispose

This commit is contained in:
dragonmacher
2023-02-02 17:51:15 -05:00
parent e5a8f26347
commit c252e3b905
174 changed files with 1418 additions and 1529 deletions
@@ -153,16 +153,17 @@ public class DefaultClientAuthenticator extends PopupKeyStorePasswordProvider
@Override
public void run() {
PasswordDialog pwdDialog;
String choicePrompt = null;
String[] choices = null;
if (choiceCb != null) {
choicePrompt = choiceCb.getPrompt();
choices = choiceCb.getChoices();
}
pwdDialog = new PasswordDialog(title, serverType, serverName, passCb.getPrompt(),
nameCb != null ? nameCb.getPrompt() : null, getDefaultUserName(), choicePrompt,
choices, getDefaultChoice(), anonymousCb != null);
PasswordDialog pwdDialog =
new PasswordDialog(title, serverType, serverName, passCb.getPrompt(),
nameCb != null ? nameCb.getPrompt() : null, getDefaultUserName(), choicePrompt,
choices, getDefaultChoice(), anonymousCb != null);
if (errorMsg != null) {
pwdDialog.setErrorText(errorMsg);
}