3. CONTENT:-
Introduction
Preparing To Write Applets
Developing And Testing In Applet
Building APPLET CODE
General Format Of Applet Code
Applet Life Cycle
Sample Code For Project
Output Of Our Project
4. INTRODUCTION TO APPLET :-
Small java programs that are primarily used
in internet computing.
An applet can do many things such as
arithmetic operations, display graphics, play
sounds,accept user input, create animation,
and play interactive games.
Java applets can now therefore make a
significant impact on World Wide Web.
We can do the graphics programming using
applet
5. PREPARING TO WRITE APPLETS :-
For creating applets exclusively we will
need to know:
o When to use applets
o How an applets works
o What sort of features an applets has
o Where to start when we first create our
own applets
6. DEVELOPING AND TESTING IN APPLET:-
write an applet code (.java file)
Creating an executeable applet (.class file)
Designing a Web page using HTML tags
Preparing <APPLET> tag
Incorporating <APPLET> tag into the webpage
Creating HTML file
Testing the applet code in CMD
7. BUILDING APPLET CODE :-
Applet code uses two classes, APPLET &
GRAPHICS from our Java class library.
The applet class is contained in the
java.applet package.
Applet methods are:-
I. init()
II. start()
III. paint()
The applet code imports java.awt package
which contains the Graphics class.