Java Applet used to play with JApplet and ActionListener