post your comment   print   send to a friend
Rate:   0% | Views: 296
Question categories:  Java

If destroy() is called, is my Applet unloaded?

Not exactly. Remember that your applet is an object; an instance of your sub-class of the applet class. The memory holding your applet's data and class linkage information is the instance that is reclaimed. The bytecode (the .CLASS file--the class itself) remains along with static class data, and may be re-used to generate a new instance of your applet (if not pruned).

Customer Feedback
Rate:   0% | Views: 296 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Webhosting Service | Domain Names Registration    Back to serch results
Browse the Base
Knowledge Base
Web Design
  Do It Yourself
    Java
Messages
 

$75 Free Google AdWords

Free $75 Google AdWords when you sign up for WebImage! Target by location, create your own, or let Google create your ads for you. Check out http://www.aplus.net/google.html to see how AdWords works for you.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. How do I access Servlets or CGI programs from Java?
 
2. My applet computes its window size. Can I resize it in the browser?
 
3. How do I communicate between my applets in the same browser?
 
4. How do I force the browser to reload my Java classes without exiting Navigator?
 
5. Why does my java console show an applet is pruned?
 
Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest