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
|