• Post Reply Bookmark Topic Watch Topic
  • New Topic

applet closing  RSS feed

 
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.
 
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
 
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!