Events and Listeners Compared
Classes:
- ActionEvent
- ActionListener
Methods:
- actionPerformed( ActionEvent e )
- addActionListener( ActionListener l )
Methods:
- itemStateChanged( ItemEvent e )
- addItemListener( ItemListener l )
- There’s a one-to-one relationship between ActionEvents and ItemEvents