怎么会找不到applet呢?
我写了一个applet , 在网页里面测试, 我的确是将helloapplet.java和 t.htm 放在同一个文件夹中的。
我的t.htm是这样的。<html>
<title>jjjj</title>
<applet code="helloapplet.class">
</applet>
</html>
helloapplet.class是这样的
import java.applet.*;
import java.awt.*;
public class helloapplet extends Applet
{
public void paint(Graphics g)
{
g.drawString("hello world",50,50);
}
}
可是得到的是浏览器的底部提示我说class helloapplet not found
这是为什么呢?
希望有人能提醒一下, 马上给分。