Changed Japplet to Applet, even handler now works. 
Bug: second click causes runtime error