I'm not sure, but I think it should be <applet code="FirstApplet.class" width='300' height='300'>, not
<applet code="FirstApplet" width='300' height='300'>.

I'm not very good with Applets but...