• Post Reply Bookmark Topic Watch Topic
  • New Topic

applet closing  RSS feed

 
hemang dave
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to close an applet with the help of event handling.that is after making an close button what syntax should be wrote in the action performed method to close an applet.
 
Roshini Sridharan
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Dave,
Its not possible to close the applet,Hope so. Because its one embedded within the web, where the JVM is invoked once the applet tag is encountered, trying to close the applet, may end up with interrupting the JVM execution.
If System.exit(0) it throws an AccessControlException.
RoshiniSridharan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!