Stop and destroy method Assignment Help

Assignment Help: >> Applet Initialization and Termination - Stop and destroy method

stop():

The stop() method is called whenever a web browser leaves the HTML document containing the applet - when it goes to another page, for instance. When stop() is called, the applet is possibly Running . You should use stop() to suspend threads that don't required to run when the applet is not visible. You could restart them when start() is called if the user returns to the page.

destroy():

The destroy() method is called when the environment determines which your applet required to be removed completely from memory. At the point, you should free up any resources the applet might be using. The stop() method is always called before destroy().

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd