Java Applet小程序在Google和ff的运行(本机ff 20.0,google 20)[解决办法]codebase是用来指定你的class的位
Java Applet小程序在Google和ff的运行(本机ff 20.0,google 20)
[解决办法]
codebase是用来指定你的class的位置,不知在 "F:\test_workspaces\Test4\bin" 下有test\Test.class吗?
建议将当前目录改为包含test\Test.class的目录,即当前目录下有子目录test(其中有Test.class)
html文件中修改为
<applet codebase="." code="test.Test.class" width="300" height="200" alt="Java Applet小程序在Google跟ff的运行(本机ff 20.0,google 20)"></applet>
并将该html文件也保存在当前目录下,这时执行该html,应该就可以了
