JavaTimer



This timer applet can count up or down, pause, and can play an alarm sound on zero.

Author's Notes:
Change the Identifier of the timer by clicking inside the white box, then type your text and hit "Return", or click anywhere inside the applet. When a countdown has run off, a sound is played for about 10 seconds, unless you klick anywhere inside the applet to stop it. The sound file is looped. It must be named "alarm.au" and must be inside the applet directory. The Colors for the Timer and for the Background (should be the same as the HTML-page background) can be specified via parameters. When you count down, you can tell by graphical gauges how much time is left. On count up, animations are visualizing the running timer.

How To Use:

  • Download javatim.zip (19 KB)
  • Unzip with a compression utility.

    Java Source: source.html

    Sample HTML Source:

    <APPLET CODE=Timer.class  WIDTH=190 HEIGHT=350>
    <param name=timer_name value="Tea Timer">
    <param name=bg_color value="FFFFFF">
    <param name=clock_color value="00007D">
    </applet>
    

    Status: Free

    Author: Johannes Wallroth

    Homepage: http://www.programming.de/

    Upload Date: December 11, 2000

    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.