O'Reilly logo

Graphic Java™ 2, Volume II: Swing, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18. Combo Boxes

Combo boxes, implemented by the JComboBox class, are a combination of an editable area (by default, a text field) and a drop-down list of selectable items. As a result, it is instructive to introduce JComboBox by comparing it with JList.

JComboBox vs. JList

JList and JComboBox are similar because both components display a list of items. As a result, they both have models that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required