i copied your code for applet, but whenever i run the html file on chrome i get error "NoClassDefFound"
my html file and applet class file are stored in same folder.
i tried adding the file path to java security setting so that the applet is not blocked, but the error still exists
please help