Turn.java



Usage: Place all the files from Turn.zip in your HTML directory.

Java Source: Turn.java

HTML Source:

<APPLET code=Turn.class width=150 height=150>
<param name="speed" value="150">
<param name="bgimage" value="textjava.jpg">
<param name="turnimage" value="example.gif">
<param name="xoffset" value="-10">
<param name="yoffset" value="-36">
<param name="einzelschritte" value="30">
</APPLET>
Parameters:
  • offsetcheck (optional) - if this parameter is set to "true", you can change the position of the backgroundimage to get the optimal x- and yoffset
  • speed (optional) - the pause between the particual phases of animation in ms
  • bgimage (optional) - the picture for the backgroundtexture
  • bgcolor (optional) - the desired color for the background
  • turnimage - the picture which will be rotated
  • xoffset (optional) - the xoffset of the background picture
  • yoffset (optional) - the yoffset of the background picture
  • einzelschritte (optional) - the numbers of steps for the animation to form a half turn this parameter will be limited to 75 (for java memory-management reasons)

Author: Sascha Schneider

How to Add Java Applets to Your Site

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.