an item was selected or deselected....
ItemEvent class:
A semantic event which indicates that an item was selected or deselected.Defines the itemStateChanged() method when an item has been selected or deselected by the user. The event is passed to every ItemListener object which registered to receive such events using the component's addItemListener method.
The stateChange of any ItemEvent instance takes one of the following values:
- DESELECTED: The user deselected an item
syntax:
ItemEvent.DESELECTED- SELECTED: The user selected an item.
syntax:
ItemEvent.SELECTED