previous |
start |
next
Combo Boxes
- Use less space than radio buttons
- Users can type other values
- “Combo” between list selection and text field

- JComboBox faceName = new JComboBox();
faceName.addItem("Serif");
faceName.addItem("SansSerif");
. . .
- Get user selection
sel= (String)faceName.getSelectedItem();
previous |
start |
next