(Remember to select the View menu and Source item to see how to use this applet)

This is an example of a menu of links provided via an applet. The applet is shown three times on this page: the first time as a vertical text menu; the second time as a graphical menu; the third time as a horizontal text menu.

The first: java The Second: java

The third: java

If you want to see what a Java program looks like, here is the Java source for this applet.

Here are the PARAM names for this applet:
NAME="ITEMWIDTH" VALUE= the width of each menu item, in pixels.
NAME="ITEMHEIGHT" VALUE= the height of each menu item, in pixels.
NAME="LINK0" VALUE= the URL to jump to if the user clicks on the first item in the menu.
NAME="LINK1", "LINK2", etc. The URL to jump to if the user clicks on the second, third, etc., item in the menu.
NAME="LABEL0" VALUE= the text label for the first item in the menu (use only if a text menu).
NAME="LABEL1", LABEL2, etc. The text label for the second, third, etc., item in the menu.
NAME="FONTNAME" VALUE= the font for the menu (use only if a text menu). Example font names are "Helvetica", "TimesRoman", and "Courier".
NAME="FONTSTYLE" VALUE= the style of the text (use only if a text menu): "B" for Bold, "I" for italics. You can combine styles. For example, "BI" is Bold and Italic.
NAME="FONTSIZE" VALUE= the height of characters (use only if a text menu), in Points (a point is about 1/72nd of an inch).
NAME="BGCOLOR" VALUE= the color to use for the normal background of the menu (use only if a text menu). For example, "#ff0000" is red, "#00ff00" is green, and "#0000ff" is blue.
NAME="BGCOLOROVER" VALUE= the color to use for the background when the mouse is over an item.
NAME="BGCOLORDOWN" VALUE= the color to use for the background when the mouse is pressed on an item.
NAME="FGCOLOR" VALUE= the color for the text in the menu (use only if a text menu).
NAME="FGCOLOROVER" VALUE= the color for the text when the mouse is over an item.
NAME="FGCOLORDOWN" VALUE= the color for the text when the mouse is pressed on an item.
NAME="IMAGE" VALUE= the name of the .gif file to use for the normal state of the menu (use only if a graphical menu).
NAME="IMAGEOVER" VALUE= the name of the .gif file to use when the mouse is over an item (use only if a graphical menu).
NAME="IMAGEDOWN" VALUE= the name of the .gif file to use when the mouse is pressed on an item (use only if a graphical menu).