Applet Parameters Demo

Two instances of the example applet are included below. The first has no parameters specified so it uses the default colors. The second specifies foreground and background colors via parameters.

Use your browser's View Source option to see the HTML code.

Parameter Example: Without parameters.

Parameter Example: With parameters.