当前位置: 技术问答>java相关
java applet小问题
来源: 互联网 发布时间:2015-01-19
本文导语: 怎样在java applet中得到当前window 即ie窗口 | import java.applet.*; import netscape.javascript.*; public void closeWindow () { JSObject jso = (JSObject) JSObject.getWindow(this); jso.call ("close",null); } for more...
怎样在java applet中得到当前window 即ie窗口
|
import java.applet.*;
import netscape.javascript.*;
public void closeWindow () {
JSObject jso = (JSObject) JSObject.getWindow(this);
jso.call ("close",null);
}
for more info see
http://java.sun.com/products/plugin/1.3/docs/jsobject.html
import netscape.javascript.*;
public void closeWindow () {
JSObject jso = (JSObject) JSObject.getWindow(this);
jso.call ("close",null);
}
for more info see
http://java.sun.com/products/plugin/1.3/docs/jsobject.html