•Add a listener
to the button
•43 button.addActionListener( new JOIButtonListener( this ) );
•When button is pressed,
system sends an actionPerformed message to the
listener
•To
see what happens, look at method actionPerformed in class JOIButtonListener