Finished applet implementation