- All Superinterfaces:
- ListModel
- All Known Subinterfaces:
- MutableComboBoxModel
- All Known Implementing Classes:
- DefaultComboBoxModel, MetalFileChooserUI.DirectoryComboBoxModel, MetalFileChooserUI.FilterComboBoxModel
- See Also:
- Top Examples, Source Code
Object getSelectedItem()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[1261]Multiple JComboBoxes instances share the same DefaultComboBoxModel instances
By Anonymous on 2005/08/13 10:45:02 Rate
JComboBoxes can use the DefaultComboBoxModel to maintain its state. If multiple JComboBoxes instances share the same DefaultComboBoxModel instances, then when one of the Combo box has its selection changed, all other sharing combo boxes will also have their selection changed.
void setSelectedItem(Object anItem)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples