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
|
@Override
|
||||||
public String getString(final int where, final int len)
|
public String getString(final int where, final int len)
|
||||||
throws BadLocationException {
|
throws BadLocationException {
|
||||||
return "";
|
return new String( new char[this.length()] );
|
||||||
}
|
}
|
||||||
} ), null, 0 ) {
|
} ), null, 0 ) {
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user