Fix password field manipulation bugs.
[FIXED] By stubbing the password field's document, we broke some editing capabilities. Stub the document in a way that respects its length.
This commit is contained in:
parent
c38f713f05
commit
8d33ff8ec5
@ -212,7 +212,7 @@ public abstract class Components {
|
||||
@Override
|
||||
public String getString(final int where, final int len)
|
||||
throws BadLocationException {
|
||||
return "";
|
||||
return new String( new char[this.length()] );
|
||||
}
|
||||
} ), null, 0 ) {
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user