Ok, well I am JUST beginning to learn Java, and I have run into a little stumbling block. I am attempting to write a little applet, but it doesn't seem to want to run.
My Java code:
import java.awt.*;
import java.applet.*;
public class TestApplet extends Applet {
public void paint(Graphics g) {
g.drawString("Please work my little applet!", 20, 30);
}
}
My HTML:
<HTML>
<HEAD><TITLE>Test Applet</TITLE></HEAD>
<BODY>
<applet code="TestApplet.class" width="300" height ="300">
</BODY>
</HTML>
So...I'm not quite sure where I am going wrong. I receive no errors while compiling and there isn't much code for me to mess up.
Could anybody help me with this problem?
Thanks in advance.