O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, 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 13. Item Selectables: Checkboxes, Choices, and Lists

- The java.awt.ItemSelectable Interface

- java.awt.Checkbox

- Non-Mutually Exclusive Groups of Checkboxes

- Mutually Exclusive Groups of Checkboxes

We've grouped checkboxes, choices, and lists together because they are the only AWT components that implement the ItemSelectable interface.[1] Before we discuss each of the three components in detail, we'll briefly discuss the ItemSelectable interface.

[1] CheckboxMenuItem also implements the ItemSelectable interface but is not a component. See “Checkbox Menu Items”.

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