Applet: uTestClock

Description:
The uTestClock applet is an applet that displays the current time that has elapsed since the start of the test.

A note about the "start time". By the default, the "start time" is defined as the time in which the first question is answered, but an "auto_start" option on this applet allows you to begin the test time as soon as this applet is displayed.

Example:

Below is an example of what this applet will look like:



And here is the HTML used to generate the applet:

<APPLET CODE="uTestClock.class" CODEBASE="../classes/" WIDTH=70 HEIGHT=30>
<PARAM NAME="background_color"   VALUE="#FFFFFF">
<PARAM NAME="text_color"         VALUE="#000000">
<PARAM NAME="auto_start"         VALUE="NO">
</APPLET>


Parameters:

Name Description
CODEBASE This parameter is actually part of the <APPLET> tag and therefore should be specified on the first line of the Applet (see example). It allows you to specify the location of this applet's class file. The recommended value is "../classes/". See codebase for more information.
auto_start By default, the test time will not start until at least one question has been answered. This parameter, however, will let you start the test time as soon as this applet is displayed. To start the test time as soon as this applet is displayed, set this parameter to "YES". Otherwise, set this parameter to "NO" and the test time will not start until a question has been answered. The default value is "NO".
background_color This parameter allows you to specify the background color of the applet. It is useful when trying to blend (or match) the applet into the page's background color. The value of this parameter can be specified as any RGB value such as "#FFFFFF" or as one of the keyword colors such as "white". See color parameter format for more information on colors.
text_color This parameter allows you to specify text color of the applet. It can be specified as any RGB value such as "#000000" or as one of the keyword colors such as "black". See color parameter format for more information on colors.
font_name This parameter allows you to specify the name of the applet's font. Typical values are "Arial", "TimesRoman" or "Verdana". The default value is "System". Note that changing the type or size of the applet's font may require you to increase the overall WIDTH of the applet. So test it out on different browser types to make sure.
font_size This parameter allows you to specify the size of the applet's font. Typical values are "10", "12" or "14". The default value is "12". Note that changing the type or size of the applet's font may require you to increase the overall WIDTH of the applet. So test it out on different browser types to make sure.