| ext
Button Bar with Background This example of the TextURLButtonBar applet demonstrates the use of a background image file as well as how font and text attributes can be overridden for buttons. Try moving your mouse over the buttons and clicking on the buttons (clicking on the buttons will not cause a URL to load in this example). Notice that the button text changes as the mouse is moved over a button, and also that the text in the browser's status bar changes. | |||||||||||||||||
| A
background
JPEG image is used to delineate the button area with a raised frame, and the
color of the text for each button is graduated to convey to the user that the
buttons in the button bar are arranged in a hierarchical fashion. The background image is displayed below: If the Java class files and the image file is located in the same directory as the HTML, then the complete applet tag would be defined as illustrated below. Click on the PARAM name for detailed information about the parameter.
| |||||||||||||||||
otes
on the Applet Parameters
| |||||||||||||||||
| Copyright © 1997 by Modern Minds, Inc. | |||||||||||||||||