Support for SwingX components – part III
This is the third 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.
This part will show the support for JXTitledPanel. Much like the case with task panes and status bars, the UI delegate for titled panel 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 frame with a few JXTitledPanels under Business skin:
Here is the same frame under Business Black Steel skin:
Here is the same frame under Nebula Brick Wall skin:
Here is the same frame under Office Blue 2007 skin:
Here is the same frame under dark Raven Graphite skin:
Here is the same frame under dark Magma skin:
Here is the same frame under saturated Finding Nemo skin:
Note that the painting of the title is consistent with the main title pane of the frame (including the texture where necessary), the global watermark and colors. In addition, the panel itself has a dropshadow border installed on it.