Chapter 13. Item Selectables: Checkboxes, Choices, and Lists
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”.
Get Graphic Java™ 1.2, Volume I: AWT, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.