How do I close a browser window that was opened by Java Web Start

点点圈 提交于 2019-12-13 19:06:29

问题


I have a java app which is running as an applet. Since plugin support is going away in the browser, we are trying to see how well the applet will run in Java Web Start.

However, our app currently opens secondary browser windows using the appletContext.showDocument(URL, target).

Java Web Start unfortunately ignores the target, so we are not able to name the window (hence also not able to later close the window).

Is there a way, within Web Start, to maintain a handle on all programatically opened windows, so that they can later be programatically closed?

来源:https://stackoverflow.com/questions/35780756/how-do-i-close-a-browser-window-that-was-opened-by-java-web-start

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!