Java Reference
In-Depth Information
Listing 20-11. Synth Configuration
<synth>
<style id="button">
<font name="Monospaced" size="24" style="BOLD"/>
<state value="MOUSE_OVER">
<font name="SansSerif" size="48" style="ITALIC"/>
<opaque value="TRUE"/>
<color value="BLUE" type="BACKGROUND"/>
</state>
<state value="PRESSED">
<font name="Serif" size="36" style="BOLD AND ITALIC"/>
<opaque value="TRUE"/>
<color value="RED" type="BACKGROUND"/>
</state>
</style>
<bind style="button" type="region" key="Button"/>
</synth>
Figure 20-10 shows what the component might look like on the screen by itself.
Figure 20-10. Synth sample button screens
Search WWH ::




Custom Search