Advanced Synth
By Michael Abernethy2005-04-16
Demo Application
I'll walk you through building a simple login screen as an example application to show you how a Synth XML file works. The screen provides enough components that you can see all the important parts of the XML file and how they come together to create an entire look and feel.
As you can see by comparing Figures 1 and 2, the login screen in the Ocean look and feel looks as you might expect -- simple, straightforward, and boring. The login screen in the Synth look and feel is completely different.
Figure 1. Demo application with Ocean look and feel
1.
Figure 2. Demo application with Synth look and feel
2.
Tutorial Pages:
» Custom UIs are a Breeze with the Newest Swing Look and Feel
» Beauty's Only Skin Deep
» Synth Basics
» Demo Application
» Changing a Color and Font
» Using Images
» Handling Different States
» Working with Custom Painters
» More-Advanced Settings
» Examining Synth Performance, Reliability, and Efficiency
» Conclusion
» Resources
First published by IBM DeveloperWorks
