Spotlight

One of the first applets I ever wrote. Although completely unnecessary, I employ the technique of double-buffering to draw the graphical elements. The effect of the applet is enhanced if its background color matches that of the HTML page in which it resides. The background color, foreground color, and the message text may be specified as parameters to the applet. The font style is TimesRoman and its size, as well as that of the spotlights, is determined by the height attribute of the applet itself.

Source code: Spotlight.java


If your browser recognized the applet tag, you would see the Spotlight applet here.

Back to... [ Jim's homely page ] [ Jim's work ]