How to close a browser window opened by Java Web Start

I have a java application that works like an applet. Since plugin support goes away in the browser, we are trying to understand how much the applet will run in Java Web Start.

However, our application currently opens additional browser windows using appletContext.showDocument (URL, target).

Java Web Start, unfortunately, ignores the target, so we cannot name this window (therefore, we also cannot close the window later).

Is there a way, within Web Start, to support the handle to all programmatically open windows so that they can be closed programmatically later?

+1
java java-web-start applet
source share

No one has answered this question yet.

See similar questions:

3
Java Web Start Applet opens a new browser window / tab, ignoring the target

or similar:

3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
3073
How to efficiently iterate over each entry on a Java map?
2853
How to convert String to int in Java?
2171
How to determine if an array contains a specific value in Java?
2108
How can I name one constructor from another in Java?
1915
How to declare and initialize an array in Java?
1729
How to break out of nested loops in Java?
1541
How to break a string in Java
one
clean up applet when closing Java Web Start

All Articles