开发者

japplet open second window

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜