GUI Event Handling (Java 1.1.*) - create listners and register them

Create an applet that handles various GUI component events such as buttons being pressed, etc. using the Listener Interfaces of Java 1.1.*.
  1. you must create a Java applet with a class that extends the Applet class. (you must import the java.applet package).
  2. this applet must also implement the ActionListener interface to get the events when a button is hit. (you must import the java.event package).
  3. you should create your own methods that implement all methods of the ActionListener(e.g. actionPerformed()).
  4. you should create an init() method that among other things must register the applet as a ActionListener


Here is the applet
Need Java Enabled Browser

Solution