public static interface JListChooser.ListChooserHandler
JComboBox:
ListChooserHandler handler = new ListChooserHandler() {
public Object getCurrentValue(JComponent c) {
JComboBox cb = (JComboBox) c;
return cb.getSelectedItem();
}
};
| Modifier and Type | Method and Description |
|---|---|
Object |
getCurrentValue(JComponent c)
Fired when the current value of the editor component has changed.
|
Object getCurrentValue(JComponent c)
c - the component