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
Machines should have Java interpreter for the Java byte code to get implemented. Linking is a very simple process and this feature helps while developing applications. Java compile

What is the difference between inner class and nested class? When a class is explained within a scope od another class, then it becomes inner class. If the access modifier o

What is JDBC exactly? Describe the steps required to execute a SQL query using JDBC.

An Action Class performs a role of an adapter among the contents of an incoming HTTP request and the corresponding business logic that should be implemented to process this request

1. In Java (and OOP), Inheritance includes the concept of super class that is parent class and sub class that is derived class. Explain What is a super class in Java? What is a sub

Project Description: Modules of software: 1 - Serial RS232 comm port comunication 2 - NanoHTTPD serving some processed pages 3 - System tray application to indicate sta

• Study and enhance the File System Simulator - See the FS_sim slide deck • New features - blockinfo - a new application that displays the information about the blocks in the file

Develop a School java project Project Description: Programming java, threads. Not so hard but requires knowledgeSkills required: Java

The different types of actions in Struts are: ? DispatchAction ? LookupDispatchAction ? ForwardAction ? SwitchAction ? IncludeAction

What is a packet within the network environment? What kind of information does it contain? A packet is the shortest unit of data transmitted over a computer network. It's a mes