title: How to close java Applet through code
body: <p>I am developing a java applet. I want it to be closed by the code. I have used <code>System.Exit(0)</code> but it is not working. Is there any other method to achieve this?</p>
  
  <p>Thanks</p>