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
Output first x values in the fibonacci sequence, where x is an argument to the program. 0, 1, 1, 2, 3, 5, 8, ... Write the fibonacci creation function separate from the main func

hi i want to get my assingment done

Explain all Java Primitive Data Types? boolean 1-bit. May take on the values true and false only. true and false are describe constants of the language and are not the s

Universal Android and iOS, Multipurpose Testing Application - Based on Phonegap Project Description: Universal Android and iOS, Multipurpose Testing Application Based on Phon


A mechanism for converting among string-based markup generated by JavaServer Faces UI components and server-side Java objects.

#questiongfjnkdfn..

What do you understand by private, protected and public? These are accessibility modifiers. Private is the most restrictive, whereas public is the least restrictive. There is n

Relate Java with C/C++ Very similar C/C++ syntax, operators, etc. Core language is simpler than C++ -- no pointers, no operator overloading, and no multiple inheritance.

The series of steps followed by an application is known its life cycle. A JSF application typically follows six steps in its life. 1. Restore view phase 2. Apply request valu