| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| java.awt.event | Provides interfaces and classes for dealing with different
types of events fired by AWT components. | 
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| javax.swing.plaf.basic | Provides user interface objects built according to the
Basic look and feel. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AWTEventMulticaster. itemStateChanged(ItemEvent e)Handles the itemStateChanged event by invoking the
 itemStateChanged methods on listener-a and listener-b. | 
| void | Checkbox.AccessibleAWTCheckbox. itemStateChanged(ItemEvent e)Fire accessible property change events when the state of the
 toggle button changes. | 
| void | List.AccessibleAWTList. itemStateChanged(ItemEvent event) | 
| protected void | CheckboxMenuItem. processItemEvent(ItemEvent e)Processes item events occurring on this check box menu item by
 dispatching them to any registered  ItemListenerobjects. | 
| protected void | Choice. processItemEvent(ItemEvent e)Processes item events occurring on this  Choicemenu by dispatching them to any registeredItemListenerobjects. | 
| protected void | Checkbox. processItemEvent(ItemEvent e)Processes item events occurring on this check box by
 dispatching them to any registered
  ItemListenerobjects. | 
| protected void | List. processItemEvent(ItemEvent e)Processes item events occurring on this list by
 dispatching them to any registered
  ItemListenerobjects. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ItemListener. itemStateChanged(ItemEvent e)Invoked when an item has been selected or deselected by the user. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | DefaultButtonModel. fireItemStateChanged(ItemEvent e)Notifies all listeners that have registered interest for
 notification on this event type. | 
| protected void | JComboBox. fireItemStateChanged(ItemEvent e)Notifies all listeners that have registered interest for
 notification on this event type. | 
| protected void | AbstractButton. fireItemStateChanged(ItemEvent event)Notifies all listeners that have registered interest for
 notification on this event type. | 
| void | JToggleButton.AccessibleJToggleButton. itemStateChanged(ItemEvent e)Fire accessible property change events when the state of the
 toggle button changes. | 
| void | DefaultCellEditor.EditorDelegate. itemStateChanged(ItemEvent e)When an item's state changes, editing is ended. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BasicComboPopup.ItemHandler. itemStateChanged(ItemEvent e) | 
| void | BasicComboBoxUI.ItemHandler. itemStateChanged(ItemEvent e) | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.