advertisement
javaboutique
Search Tips
Articles  |   Tutorials  |   Reviews  |   Tools  |   by Category  |   by Date  |   by Name  |   Submit  |   Source  |   Forums  |  
javaboutique
Browse DevX


Partners & Affiliates











advertisement


Intro 1.1


You need to set a high enough NumberOfPixelsMax, the right Transparent-Color (Red, Green, Blue), the image-filename and the number of images for the applet to work!!

PARAMETERS:

NumberOfPixelsMax:
The maximum number of moving pixels. If an image contains more none-background-pixels than this number, the applet won't work. The more pixels move, the more CPU-power is needed. Default is 5000; increase this value if the applet does not work! If the number is very high, e. g. 100000, more memory will be needed, so try to find out just how many pixels You need.
TransparentRed/-Green/-Blue:
Every pixel of an image that has NOT this color, will be a moving pixel. The more moving pixels You have, the more CPU-power is needed.
BackgroundRed/-Green/-Blue:
The color of the background. Usually, this will be the same color as the transparent color. You can experiment with this color as much as You like if You leave the transparent-color unchanged.
NumberOfImages:
The number of different images.
NumberOfSteps:
How many steps a full "morph" takes. More steps result in a slower transition. Default is 80.
Delay:
The number of "steps" each image is shown before the next morph/transition starts. (1 step is about 20 miliseconds)
ImagesFilename:
The path and filename of all images WITHOUT number and extension
ImagesExtension:
The extension/type of the image. Use GIF if possible, JPG if not "color-accurate" -> transparent color will not work! PNG should work as well. (not tested)
EXAMPLE: With an ImagesFilename of "pics/pic", an extension of ".gif" and a NumberOfImages of 7, the applet will look for the images "pics/pic1.gif", "pics/pic2.gif", ... to "pics/pic7.gif"! All images must have the same size and the same transparent color. Do NOT use transparent-GIFs! Don't forget to change the applets size to the size of the images!
RandomOrder:
If set to "y", the image sequence is random, if set to "n", after the 1st image the 2nd will appear, then the 3rd etc; after the last one, the process will restart with the 1st one.
LoadBGRed/-Green/-Blue:
The background-color while the "loading images"-message is shown.
LoadFGRed/-Green/-Blue:
The text-color while the "loading images"-message is shown.

Back to Intro 1.1

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.

 Microsoft Visual Studio 2010 Showcase
 Avaya Developer Showcase
 MSDN Spotlight
 PHP for Windows Showcase
XML error: undefined entity at line 39
advertisement
Receive Articles via our XML/RSS feed
Receive Articles via our XML/RSS feed

JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for Windows 95, 98, ME, NT, 2000 and XP. It's designed to automatically optimize your Windows settings, boosting your Internet connection up to 200%.

Windows 7: From Beta to Final Code in One Year
Google Shows Off Chrome OS, Releases Source
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?
Fedora 12 Takes Aim at Linux Networking
Top Supercomputer Nearly Doubles in Speed
Fedora 12 Linux Tackles Virtualization
Apple Gives iPhone Developers App Status Tracker
Novell Sets OpenSUSE 11.2 Free

Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Exploring HTML 5's Audio/Video Multimedia Support
Overriding Virtual Functions? Use C++0x Attributes to Avoid Bugs.
Understanding the Cloud Computing Security Vulnerabilities
Cisco and IBM Target a Greener World
Upgrade to Visual Studio 2010 with the Ultimate Offer

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs