Visual J++ Applet Sample

See Also      Tasks

A Java applet called CoolHeadLines is used to scroll the sample names in this sample Web page. When users click on a sample name, they are sent to the appropriate URL and given more detail about the sample.

This sample was taken from the Microsoft® Internet Information Server 4.0 online sample "ExAir".

Behind the Scenes

The headline text and URLs are stored in <PARAM> tags that are read by the applet.

Each headline has two elements in the file:

The following parameters are used for the applet:

Parameter Comment
BackColor The color of the background in RGB format
TextColor The color of the sample name text in RGB format
HiliteTextColor The color of the sample name text when highlighted in RGB format
ScrollDelay Delay between each pixel scroll, measured in msec
MessageDelay Wait time before the next sample name scrolls, measured in seconds
NumItems Number of sample names
TextN The text for sample N
URLN The URL for the full information of sample N