Hello YOu didn't use the new applet tag. This is the new syntax for applet tag. You can also download HTML converter from java.sun.com which will convert your old ( and simple ) applet tag to this new one. First you will have to write the old applet syntax in an HTML file and then run the HTML converter which will convert the old syntax into new one. It will run fine when you use the following syntax.