Java for the Webmaster: All Gain No Pain
One of the most common uses for Java applets on a Web site is site navigation.
There are many Java-based navigation tools available to make your visitor's trip through your site more enjoyable. Some are based on an image or images that provide visual representations of different areas of your site. Others provide a "treeview" or "tabbed view" of your site, and allow the visitor to easily navigate your site using an interface that is already familiar to them. Here are a couple such applets:
Some of these applets, as you saw, allow you to utilize a treeview along with images and sounds. Keep in mind that additional functionality in a Java applet usually means additional file size (and download time) as well, so weigh the advantages of the applet for your visitors against the disadvantages before you load your site up with these large applets.
Many people place Java applets on their site simply to attract more visitors. Utility applets are a good way to do that. There are a number of utilities that are very helpful to Web developers, such as some of the navigation applets we previously mentioned. Other applets are available which allow a designer to choose a color, then the applet generates the code to be used to define colors within their Web pages and/or other applets. Other applets allow you to feature a digital clock on your site.
If you have a site that's geared more towards end-users, then general use applets such as apIRC and calendar can provide useful tools for your visitors. Here's a demo of several of the utility applets:
Most of these applets can be added to your site at little or no cost, and they can provide your visitors with an easy way to accomplish otherwise cumbersome or repetitive tasks.
NEXT
This article first appeared in October, 1998
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.
|