I currently have an applet which opens when going to a certain URL. It runs checks and downloads the necessary jar files onto the user's computer. When exiting the application, I use the command System.exit.
If I have a Internet Explorer open prior to going to the URL, then opening another IE window and accessing my URL from this window, upon exit, the applet closes normally, but also closes all other Internet Explorer Windows as well. If I had opened another Internet Explorer window after accessing the URL, then that window doesn't close.
My question is, how can I close ONLY the Internet Explorer window from which the URL was accessed from?