你的myjavaapplet.class文件应该和myjavaapplet.html放在同一个目录下!
另外你的html文件也许没写对:
<html>
<head>
<title>测试applet</title>
</head>
<body>
<applet code="myjavaapplet.class" width="200" height="200" >
</applet>
</body>
</html>
try again!!
另外你的html文件也许没写对:
<html>
<head>
<title>测试applet</title>
</head>
<body>
<applet code="myjavaapplet.class" width="200" height="200" >
</applet>
</body>
</html>
try again!!
html改了还是看不见,不过在appletviewer 可以。
翻看了以前得帖子,有人说是VM的问题,有人说是JRE的问题,我的VM是用的microsoft的,jre的版本什么的怎么看?
不过每次都要来这么一个-target 1.1 吗?
有没有什么简单的办法?在j2sdk里面。