|
|
@ -132,8 +132,17 @@ public class UIComboCheckBox extends JComponent implements UIObserver, GlobalNam |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private UITextField createEditor() { |
|
|
|
private UITextField createEditor() { |
|
|
|
UITextField editor = new UITextField(); |
|
|
|
UITextField editor = new UITextField() { |
|
|
|
editor.setEditable(false); |
|
|
|
@Override |
|
|
|
|
|
|
|
protected void initListener() { |
|
|
|
|
|
|
|
this.addMouseListener(new MouseAdapter() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
|
|
|
attributeChange(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}; editor.setEditable(false); |
|
|
|
editor.setPreferredSize(new Dimension(110, 20)); |
|
|
|
editor.setPreferredSize(new Dimension(110, 20)); |
|
|
|
addPopupListener(editor); |
|
|
|
addPopupListener(editor); |
|
|
|
|
|
|
|
|
|
|
|