Get premium membership and access questions with answers, video lessons as well as revision papers.
? init: This method is intended for whatever initialization is needed for your applet. It is called after
the param tags inside the applet tag have been processed.
? start: This method is automatically called after the browser calls the init method. It is also called
whenever the user returns to the page containing the applet after having gone off to other pages.
? stop: This method is automatically called when the user moves off the page on which the applet
sits. It can, therefore, be called repeatedly in the same applet.
? destroy: This method is only called when the browser shuts down normally. Because applets are
meant to live on an HTML page, you should not normally leave resources behind after a user
leaves the page that contains the applet.
? paint: Invoked immediately after the start() method, and also any time the applet needs to repaint
itself in the browser. The paint() method is actually inherited from the java.awt.
gregorymasila answered the question on January 24, 2018 at 17:44
- Explain the procedure for converting an applet to an application.(Solved)
Explain the procedure for converting an applet to an application.
Date posted: January 24, 2018. Answers (1)
- Using a code snippet show how to set the layout of a user interface.(Solved)
Using a code snippet show how to set the layout of a user interface.
Date posted: January 24, 2018. Answers (1)
- Differentiate between the following layout managers
i. GridLayout
ii. BorderLayout
iii. FlowLayout(Solved)
Differentiate between the following layout managers
i. GridLayout
ii. BorderLayout
iii. FlowLayout
Date posted: January 24, 2018. Answers (1)
- Explain the difference between the AWT components and the Swing Components using examples(Solved)
Explain the difference between the AWT components and the Swing Components using examples
Date posted: January 24, 2018. Answers (1)
- Distinguish between abstract classes and interfaces(Solved)
Distinguish between abstract classes and interfaces
Date posted: January 24, 2018. Answers (1)
- Java exception handling is managed by five keywords: state and discuss the role of each of the keywords.(Solved)
Java exception handling is managed by five keywords: state and discuss the role of each of the keywords.
Date posted: January 24, 2018. Answers (1)
- State four differences between Java applications and Java applets programming.(Solved)
State four differences between Java applications and Java applets programming.
Date posted: January 24, 2018. Answers (1)
- Explain the following terms:
i. Inheritance
ii. Encapsulation
iii. Polymorphism(Solved)
Explain the following terms:
Explain the following terms:
i. Inheritance
ii. Encapsulation
iii. Polymorphism
Date posted: January 24, 2018. Answers (1)
- By use of relevant examples, state the difference between
i. Statement and a block.
ii. Superclass and subclass
iii. Function overloading and overriding(Solved)
By use of relevant examples, state the difference between
i. Statement and a block.
ii. Superclass and subclass
iii. Function overloading and overriding
Date posted: January 24, 2018. Answers (1)
- State and explain four advantages of Java as an object oriented programming language.(Solved)
State and explain four advantages of Java as an object oriented programming language.
Date posted: January 24, 2018. Answers (1)
- Briefly describe what it means by business object analysis?(Solved)
Briefly describe what it means by business object analysis?
Date posted: January 24, 2018. Answers (1)
- Explain the benefits of the Unified Software Development Process (USDP).
(Solved)
Explain the benefits of the Unified Software Development Process (USDP).
Date posted: January 24, 2018. Answers (1)
- Define a model and briefly discuss the two types of models(Solved)
Define a model and briefly discuss the two types of models
Date posted: January 24, 2018. Answers (1)
- What is generalization? Give its advantage.(Solved)
What is generalization? Give its advantage.
Date posted: January 24, 2018. Answers (1)
- Briefly discuss UML and State significance of the Unified Modeling Language (UML) in object orientation (Solved)
Briefly discuss UML and State significance of the Unified Modeling Language (UML) in object orientation
Date posted: January 24, 2018. Answers (1)
- Outline some characteristics of a bad design? (Solved)
Outline some characteristics of a bad design?
Date posted: January 24, 2018. Answers (1)
- State the significance of analysis in object-oriented approach to systems development. (Solved)
State the significance of analysis in object-oriented approach to systems development.
Date posted: January 24, 2018. Answers (1)
- Define inheritance (Solved)
Define inheritance
Date posted: January 24, 2018. Answers (1)
- Briefly explain the main phases of USDP. (Solved)
Briefly explain the main phases of USDP.
Date posted: January 24, 2018. Answers (1)
- Most experts agree on a set of common principles of quality software: Briefly discuss the design principles stated below (Solved)
Most experts agree on a set of common principles of quality software: Briefly discuss the design principles stated below:
Reusability
Reliability
Robustness
Extensibility
Scalability
Date posted: January 19, 2018. Answers (1)