|
|
|
@ -22,31 +22,35 @@ public class UIPassWordField extends JPasswordField {
|
|
|
|
|
|
|
|
|
|
public UIPassWordField() { |
|
|
|
|
super(); |
|
|
|
|
InputEventBaseOnOS.addBasicEditInputMap(this); |
|
|
|
|
addRollOverListener(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public UIPassWordField(String text) { |
|
|
|
|
super(text); |
|
|
|
|
InputEventBaseOnOS.addBasicEditInputMap(this); |
|
|
|
|
addRollOverListener(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public UIPassWordField(int columns) { |
|
|
|
|
super(columns); |
|
|
|
|
InputEventBaseOnOS.addBasicEditInputMap(this); |
|
|
|
|
addRollOverListener(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public UIPassWordField(String text, int columns) { |
|
|
|
|
super(text, columns); |
|
|
|
|
InputEventBaseOnOS.addBasicEditInputMap(this); |
|
|
|
|
addRollOverListener(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public UIPassWordField(Document doc, String txt, int columns) { |
|
|
|
|
super(doc, txt, columns); |
|
|
|
|
InputEventBaseOnOS.addBasicEditInputMap(this); |
|
|
|
|
addRollOverListener(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void addRollOverListener() { |
|
|
|
|
InputEventBaseOnOS.addBasicEditInputMap(this); |
|
|
|
|
this.addMouseListener(new MouseAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseEntered(MouseEvent e) { |
|
|
|
|