You are here: irt.org | FAQ | Java | Q4070 [ previous next ]
When you want to close the applet fire some event like button press to close the applet. In the code of the action of that event use "this.showDocument(URL)" to load some other page.
Now this page will have JavaScript. You can name this page as exit page. When this page is loaded it will call a JavaScript function "window.close()" which will close the browser window.