开发者

japplet open second window

开发者 https://www.devze.com 2023-01-29 08:46 出处:网络
is it possible to open a new window from a japplet? right now i\'m using getAppletContext().showDocument() to open a document, but it closes my applet. anyone know how to open a second window without

is it possible to open a new window from a japplet? right now i'm using getAppletContext().showDocument() to open a document, but it closes my applet. anyone know how to open a second window without interfering with the applet? Th开发者_如何学Goanks.


Try using the version that takes a target as well and pass "_blank" as the target:

getAppletContext().showDocument(new URL("http://www.google.com"), "_blank");
0

精彩评论

暂无评论...
验证码 换一张
取 消