added Applet subclass in order to run Applet in Eclipse