Instructions for making a lake applet.




First, create a new folder in which to store the files you need.

You can name the folder anything you like.

Please remember where the folder is on your computer.

Everything you save for the applet must be saved in this folder.




Find the image you want to use.

Resize it so that it is 300 pixels wide.

Save it in the new folder.

Your image must be saved as a gif or jpg.

(Once you know what you are doing, you can then experiment with image sizes.)

If you want to use the image I have used for the above applet,

Right click on the image below and save it in your new folder.






Now you need to download the lake.class file for the applet.



This does not take long.

Download lake class file for applet here

David Griffiths seems to have closed his web site,

so I cannot direct you there for the download and terms of use.

Do not bother opening the file.





Go to start then Programs

then Accessories and down to Notepad and open it.




Now we are going to do some copying and pasting.

Do not examine what you are pasting!!

Just please follow my instructions and you can look at the code later.

Copy from <HTML> to </HTML> and paste it into the Notepad document.

(As shown below.)

<HTML>

<HEAD>

<TITLE>Lake Applet.</TITLE>

</HEAD>

<body>

<CENTER>

<applet code="lake" width="300" height="285">

<param name="image" value="yourimage.jpg">

</applet>

</CENTER>

</body>

</HTML>




Where the code says height.

you must make this value double the height of your image.

yourimage replace with the name of your image.




Now you need to save your Notepad document

Make sure you are in the Notepad document.




IMPORTANT!

Go to file then down to Save As

and then find your folder.

In the box, where it says File name type name.html

You must type .html after the name!!!




Then go to your folder

Find the icon that is named the same as your Notepad document

It will be a web page icon and double click on it.

You should see the applet displayed as a web page on your computer,




If you do not see water you

need to change the value for the height of your applet,

Right click your mouse button on the page and click View Source.

Change the value and then in the Notepad document

go to file and down to save.

View your applet.

You can keep changing and saving the height value,

until you are satisfied with the result!




If you want to upload the page to your web space the only files you need to upload are lake.class,your image and the Notepad web page you have just created.

Just three files.




For a more detailed tutorial visit Uncle Gus

This tutorial goes on to tell you how to frame your applet,

how to make an overlay and other information you may need now.






Links to Paint Shop Pro Tips and Tutorials

My Tutorials

My Tubes

My Graphics

Special thanks

to David Griffiths
for the use of his wonderful lake applet.