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 the difference between instance and object of a class? Few says both are same, then why java kept both the words for same thing?

Ten pigs were all in a pen, enjoying their morning slop when a bird flew down from a nearby tree and began picking all the best bits out from the trough. This greatly perturbed the

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

The fancy new French restaurant La Food is very popular for its authentic cuisine and high prices. This restaurant does not take reservations. To help improve the efficiency of the


Add extra Features to exciting Minecraft plugin Project Description: I own a minecraft server and have a minigame plug-in but at the end of the game the map need to regenerat

Write a Java program in a NetBeans project that reads a text file containing the names and addresses of several people and displays them all at once or one at a time upon selecting

1. The purpose of this problem is to practice using generics.  Create a generic class with a type parameter that simulates drawing an item at random out of a box. For exampl

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''a''''-''''z'''') and