Support for SwingX components – part I

June 18th, 2007

The recent drops of Substance plugin for SwingX components started providing extensive and consistent support for the popular third-party component suite backed up by Sun. This plugin contains UI delegates that provide consistent look and feel for the SwingX components, including theming, watermarking, skinning and animation effects.

The first part in this series will showcase the support for JXTaskPaneContainer and JXTaskPane. The test application itself can be found in the CVS repository of Substance SwingX plugin, and here are a few screenshots of this application under different Substance skins.

Here is the task pane container (the bottom task pane is collapsed) under Business skin:
Business

Here is the same task pane container under Business Black Steel skin:
Business Black Steel

Here is the same task pane container under Business Blue Steel skin:
Business Blue Steel

Here is the same task pane container under Nebula skin:
Nebula

Here is the same task pane container under Nebula Brick Wall skin:
Nebula Brick Wall

Here is the same task pane container under Raven skin:
Raven

Here is the same task pane container under Magma skin:
Magma

As you can see, Substance picks up the painter used to paint the title bar and the menu bar (if necessary) to paint the task pane container as well, providing a seamless and consistent appearance for the third-party component. In addition, as with the core Swing components, Substance provides rollover animation effects on the task pane title (click Play to start):