• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exceptions in Applets

 
devayani Devasthali
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to know how exceptions are catch in Applets
Thanx & regards
Devayani
 
David M Fairchild
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to use a try / catch syntax in the Applet code. Or are you wondering what happens to the browser if the applet fails?

You can see output from your applet using the Java Console. (Found under 'Tools' on IE)
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An applet is a Java class like any other, with a few special lifecycle method. You can use try/catch like you would in any other Java code. Since this is much too obvious an answer, you should provide us with some more information on what you're trying to do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic