Source code: applet_actionListener.java