Roving Eyes are superimposed on an image specified in an applet param. The eyes follow the mouse around the page, even beyond the borders of the applet (thanks to some simple JavaScript included in the example). It works with any VMincluding Microsoft's 1.1 version. Tested in both IE and Firefox.
Unzip with a
compression utility.
Java Source:
Unavailable
Sample HTML Source:
<applet code="com.oakesville.applets.Eyes" codebase="."
width="400" height="135" name="eyesApplet">
<param name=faceFile value="doofus.jpg">
<param name=testMode value="false">
<param name=leftEyeX value="75">
<param name=leftEyeY value="77">
<param name=rightEyeX value="310">
<param name=rightEyeY value="75">
<param name=irisRadius value="20">
<param name=pupilRadius value="8">
<param name=leftEyeRadius value="5">
<param name=rightEyeRadius value="5">
<param name=horizontalSkew value="3.5">
<param name=eyeIndependence value="0.4">
<param name=irisRed value="128">
<param name=irisGreen value="64">
<param name=irisBlue value="0">
<param name=verticalOffset value="100">
</applet>
Status: Free for non-commercial use
Author: Donald Oakes
Homepage: http://www.oakesville.com/don/don.html
Upload Date:
September 26, 2008
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.