Setting the color of a Titlebar in a JXTitledPanel
Okay, I'm new to SwingX, and it all looks very cool, but I often feel like I need a secret decoder ring to figure out how to use it. The demo JXTitledPanel has a nice blue background color, but when I use one in my own application, the title comes out gray. I don't see anything in the demo code that could possibly change the color, and I certainly don't see an API to specify a color. Furthermore, the PainterUIResource I extracted does a fine job of concealing the actual painter that's doing the work.
Can anybody tell me how to specify the color of a titlebar in a JXTitledPanel?