Call to JPasswordField.getText() is deprecated. Changed to getPassword(). jrg

This commit is contained in:
talisman%anamorphic.com 2001-04-08 09:46:24 +00:00
parent 5ffcd40159
commit d5edc578e7

View File

@ -231,7 +231,7 @@ public class DialogAuthenticator extends Authenticator {
public String getPassword() {
if (fOK) {
return fPasswordField.getText();
return new String( fPasswordField.getPassword() );
} else {
return null;
}