Support for SwingX components – part IV

June 21st, 2007

This is the fourth part in the ongoing series of providing support for SwingX components in Substance look and feel.

  • The first part showed the support for JXTaskPaneContainer and JXTaskPane.
  • The second part showed the support for JXStatusBar.
  • The third part showed the support for JXTitledPanel.

This part will show the support for JXTipOfTheDay. As with task panes, status bars and titled panels, the UI delegate for tip of the day respects the header painter of the current skin (sometimes using its secondary painter defined on the skin level), which results in a consistent and unique appearance for the “decoration” areas of the UI. Here is a screenshot of a JXTipOfTheDay dialog under Business skin:

Here is the same dialog under Business Blue Steel skin:

Here is the same dialog under Nebula Brick Wall skin:

Here is the same dialog under Office Silver 2007 skin:

Here is the same dialog under dark Raven skin:

Here is the same dialog under dark Magma skin:

As with other UI delegates (such as for JXTaskPane), the UI delegate for JXTipOfTheDay provides additional animations. In the movie below, watch the icon glow when the mouse moves over the internal header. Note how the glow animation doesn’t stop abruptly (in the first sequence), but instead finishes the current loop: