|Creating a Thread|
|Thread Life Cycle|
|What is Applet?|
|Java Applet vs Application|
|Creating a Applet|
|Displaying Applet on Webpage|
|Passing Parameters to Applet|
|Setting Color to applet|
|Update and Repaint method|
|Using Fonts in Applet|
|Intro. to Graphics class|
|Drawing - Lines , Rectangles|
|Drawing - Circles and Ellipse|
|Drawing - Arcs|
|Drawing - Polygons|
|Drawing - Bar Charts|
|Java Keywords Dictionary|
|Java Interview Questions|
Applet is a dynamic and interactive java program which runs inside the web page.
Normally, the java application program run on the command prompt using java interpreter whereas the java applets can be transported over the internet from one computer to another.
An applet class extends from AWT Panel class, which extends AWT Container class, which extends AWT Component class.
Panel - An applet is specialized panel that is embedded in a specialized component container called applet context.
Component - From container applet inherits the ability to draw and handle events. Ex -Mouse click,button click etc
Container - From container, an applet inherits the ability to include other components and to have layout manager to control the size and position of components.
Applets can be embedded into web pages in following Two ways.
Local applet is developed and stored in a offline computer.
When a offline web page want to access the applet program then it simply searches in the local computer.
An applet which is designed by someone else and stored on a remote computer is called as Remote Applet.
To access remote applet the internet connection is required to download and run the applet.
The server URL must be specified to load the applet from internet.
On upcoming topic we will learn to create an applet.