|
|
@ -70,6 +70,12 @@ public class UIPasswordFieldWithFixedLength extends UIPassWordField { |
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
UIPasswordFieldWithFixedLength.this.clearPassword = true; |
|
|
|
UIPasswordFieldWithFixedLength.this.clearPassword = true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void mousePressed(MouseEvent e) { |
|
|
|
|
|
|
|
// 防止拖动进入
|
|
|
|
|
|
|
|
UIPasswordFieldWithFixedLength.this.clearPassword = true; |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.addKeyListener(new KeyAdapter() { |
|
|
|
this.addKeyListener(new KeyAdapter() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|