What is the order of function invocation in an applet? , JAVA Programming

 

The Applet's life cycle functions are as follows:

  • public void init() : Initialization function called only once by the browser.
  • public void start() : Method called after init() and occupies code to start processing. If the user leaves the page and gives without killing the current browser session, the start () function is invoked without being preceded by init ().
  • public void stop() : Stops all processing which started by start () method Done if user moves off page.
  • public void destroy() : Called if current browser session is being ended. Frees all resources used by the applet.

 

Posted Date: 7/25/2012 3:08:41 AM | Location : United States







Related Discussions:- What is the order of function invocation in an applet? , Assignment Help, Ask Question on What is the order of function invocation in an applet? , Get Answer, Expert's Help, What is the order of function invocation in an applet? Discussions

Write discussion on What is the order of function invocation in an applet?
Your posts are moderated
Related Questions
What is Constructor? A constructor is used to initialize a newly created object. It's called just after memory is allocated for the object. It can be used to initial

how to Using polymorphism to write a program to display digital clock?

Prepare Simple spring maven task Project Description: We want a very simple delivery for one of our tasks using Spring STS Maven project. This chat does not have UI interf

A fictitious train company, 'Transrail', has commissioned you to write a program that manages a list of train tickets. The program should display a text menu that prompts the us


Interface to calculate carbon foot print

Need JVC Everio stream converter Project Description: JVC Everio is a brand of cameras capable of real time streaming/ encodinig. To get the video from a PC or a mobile de

Explain break statement in a loop ? A break statement exits a loop before an entry condition fails. For instance, in this variation on the CountWheat program an error messa

java code for finding area under curve y=f(x) between x=a and a=b integrate y=f(x) between the li,its of a and b. the area under a curve between two points can be found by doing a

Give the example of Using a class from the class library ? You use the java.net.URL class only like you'd use any other class along with these methods in which happens to be n