February 2014
Beginner
1248 pages
62h 25m
English
A combo box (sometimes called a drop-down list) enables the user to select one item from a list (Fig. 12.22). Combo boxes are implemented with class JComboBox, which extends class JComponent. JComboBox is a generic class, like the class ArrayList (Chapter 7). When you create a JComboBox, you specify the type of the objects that it manages—the JComboBox then displays a String representation of each object.
Read now
Unlock full access