DuaLink: Example #4

To view the applet tags in use above, right click inside this frame and choose View Source

In these examples, everything reacts to the mouse. The text changes, the color of the text changes, and the background color changes. Maybe it's overkill, but you don't have to use all this reactivity at the same time unless you suffer from the same appalling lack of taste that we do.

Most of the reactivity you've seen in earlier examples. The additions here are the FocusBgColor and PressBgColor parameters. When left out, the background color doesn't change. When included (and specifying something different from the BgColor) it does. And, of course, you can easily opt to use one and not the other: the BgColor will be retained for the one you don't use.