The next batch of components generates a different type of event called an ItemEvent (a class in package java.awt.event) |
The corresponding interface is called ItemListener, which has a single method called itemStateChanged(...) |
To listen for ItemEvents, a listener must invoke the addItemListener(...) method |