title: run time error while closing the applet
body: <p>i want to know how to read these errors; please anyone help me out. The following error is displayed after closing an applet</p>
  
  <pre><code>C:\Users\Radha G\Desktop\practice&gt;appletviewer NewApplet.html
  Exception in thread "AWT-EventQueue-1" java.security.AccessControlException: acc
  ess denied (java.lang.RuntimePermission exitVM)
          at java.security.AccessControlContext.checkPermission(AccessControlConte
  xt.java:264)
          at java.security.AccessController.checkPermission(AccessController.java:
  427)
          at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
          at java.lang.SecurityManager.checkExit(SecurityManager.java:744)
          at java.lang.Runtime.exit(Runtime.java:88)
          at java.lang.System.exit(System.java:869)
          at SimpleApplet.actionPerformed(SimpleApplet.java:50)
          at java.awt.Button.processActionEvent(Button.java:388)
          at java.awt.Button.processEvent(Button.java:356)
          at java.awt.Component.dispatchEventImpl(Component.java:3984)
          at java.awt.Component.dispatchEvent(Component.java:3819)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
          at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
  read.java:242)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
  ad.java:163)
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
  
          at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
  
          at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
  </code></pre>