Home | Applets | Flash | DHTML | Video | JavaScript  | Basics |  Teaching Tools | Author

Java Applets

This Lake.class Java Applet creates the illusion of moving water. I took this picture while on vacation in Corpus Christi, Texas. This is a very easy effect to apply to any photo. You'll find a link to a site where you can download this applet below.

About Java Applets

Samples of Java Applets

Take The Quiz!


About Java Applets  
Applets are small, mini Java applications. There are fairly fast to load. They run client-side verses on the server. No plug-in is required but the browser must be Java enabled. Both Netscape and Internet Explorer are Java enabled by default. Many forms of animation can be executed with Java Applets.

The difference between Java and Java Applets
Java was designed specifically for application development for the Internet and is platform independent. Java Programs are stand alone outside of the Internet. Java Supports Internet Programming in the form of Java Applets. Applets cannot run outside of a Web Browser. They must be embedded within an HTML document.

Return to top


Samples of Java Applets
 

The following links will open in a separate window - close the window to return here.

Click this link to view another example of the lake.class Java Applet on one or my client sites: Moving Water Applet Example

Click this link to view an example of a blinds effect over rotating images on another of my client sites: Blinds Effect

http://www.gshome.com/java/ is one of many sites where you can download free Java Applets. Try some of these out. The lake.class is very popular. Download this zip file and extract it into one of your Web folders. Copy the code into a new page and preview the result. Note that if you are using FrontPage, an extra set of tags that you do not need will be copied in. If you see "<XMP>" in front of and at the end of you code - delete these tags. They will cause your applet to fail.

You can swap out the picture they give you with any picture of your choice. Just remember that you will have to adjust the height and the width in the code to match your new picture AND you will have to change the name of the picture to match your picture. In the lake.class, you create the ripple effect by extending the height attribute by how ever many pixels you want to reflect and ripple. IF you set the height to exactly the same height as the actual picture, you will NOT see any reflection or ripple effect.

Return to top


Home | Applets | Flash | DHTML | Video | JavaScript  | Basics | Author


Sandra Cobb
Contact Information: scobb@midsouth.rr.com


copyright© April 2002