My First Applet

How to make my first Applet.

Follow the steps below:

1-Download the file Scrollingtext.class
The file is compressed into a zip file.
Uncompress and install it in your computer.

2-Go to myfirstapplet.html
and click on
FILE and after on SAVE AS...
in your browser to copy the file to your computer.

3-Edit and modify applet parameters and text strings as you wish.

Example:

This is a similar example of applet you will use:

<html>
<body bgcolor=#000000>

<applet>

<code="ScrollingText.class" 
<align="baseline" width="100%" height="60">
<param name="align" value="1">
<param name="bgcolor" value="black">
<param name="delay" value="35">
<param name="direction" value="2">
<param name="dist" value="2">
<param name="fgcolor" value="red">
<param name="font" value="arial">
<param name="fontsize" value="30">
<param name="fontstyle" value="Plain">
<param name="Text"

value="Welcome to HP48 for beginners! - Home Page!!!">

</applet>

</body>
</html>

You need the file ScrollingText.class in your computer
or page to it runs.
Edit values in blue as you wish.

Try:

<param name="direction" value="1">

<param name="bgcolor" value="
yellow">

<param name="fgcolor" value="
blue">

<param name="fontstyle" value="
italic">

and so on.

Have Fun!

BACK TO JAVA EXAMPLES