Changing the Look & Feel
Since the end result is a standard Swing application, we should be able to change the look and feel. Open the "richclient-application-context.xml" and find the bean that is defined as follows, thanks to the NetBeans project template that created the source structure used in this tutorial:
<property name="popupDropShadowEnabled" value="false" />
<bean class="com.jgoodies.looks.plastic.theme.ExperienceBlue" />
Let's change the look and feel to Metal:
Now run it again, with this result:
If you remove the bean altogether, you can set the look and feel via the VM option:
The result, assuming the Napkin look and feel is on your classpath, is then as follows:
There are several other topics that could be discussed in the context of Spring RCP. However, the topics discussed so far should serve as a pretty good basis and give you an understanding of what Spring RCP can do for you and how various pieces fit together. At this point, you certainly should have enough information to build some pretty solid applications on top of Spring RCP.
It is tempting to attempt to compare Spring RCP with similar offerings in the desktop framework domain. It is also tempting to make value judgements. However, that's not the purpose of this article and will be broached at another point in time.