applet嵌入ie的问题请教大虾,急!!!!
我按照例子中写了一个applet,嵌入ie页面中也没有错,但是为什么新建文档以后后台打印调试语句已经有文件名,但是applet中却没有显示出新文档,和没有创建一样?代码如下
public class EIOApplet extends JApplet {
public EIOApplet(){}
public void start() {
Application.createInstance(this);
//获得applet实例
getContentPane().add("Center", Application.getInstance());
//将applet添加到Applet面板中
Container contentPane=getContentPane();
contentPane.setSize(1000,700);
}
public void createWordprocess() {
Application.gotoProduct(1);
this.repaint();
}
public void stop(){
Application.exitSystem();
}
}
<html>
<head>
<meta http-equiv="Content-Type" c>
<title>HTML Test Page</title>
<script type="">
function createWordprocess(){
document.TestEIOApplet.createWordprocess();
}
</script>
</head>
<body> test.EIOApplet will appear below in a Java enabled browser.
<br>
<applet code="EIOApplet.class" ARCHIVE="EIOffice.jar" name="TestEIOApplet" width="800" height="600" hspace="0" vspace="0" align="middle">
</applet>
<button ></button>
</body>
</html>
请高手帮忙阿,急救兄弟一把阿!!!