The addActionListener Method
Any class that intends to “listen” for an ActionEvent must implement the ActionListener interface
To register the applet as a listener of button events, type the following: Button button = new Button(…); button.addActionListener( this );
The keyword this refers to the current applet