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
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

Website for swapping/selling books Project Description: Seeking a website where students can sell and buy books. I want them to swap books as well. Payment options are requir

Iterate through list of Fish. For each fish that isAlive, do the following: * * 1. If this fishIsSurroundedByRocks, DO NOTHING, and move on to the next fish. * (This f

Write a JSP to display a table that contains factorials for the numbers from 0 to 10,

Create objects of student class by calling default Create objects of student class by calling default, parameterize and copy constructor Call student class different methods on

After refactor the main class to become abstract class, I want to move test method from tset clas of main class to subclass, how to do that?

Java Programming 1. Discuss any five buzz words in Java. 2. Describe exception classes and also explain common exceptions in java. 3. Describe primitive and abstract data

The Object class is the highest-level class in the Java class hierarchy. The Class is used to show the classes and interfaces that are loaded by a Java program..

AskWrite an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be “I love

LookupDispatchAction is useful if the method name in the Action is not driven by its name in the front end, but by the Locale independent key into the resource bundle. As the key i