REPOST: JXTaskPaneContainer Background Colour
(Bizarre, my last post is showing up in the list but is not clickable. Let's put it down to the java.net migration... although there was an identically named post some years ago and maybe non-unique URLs are causing a problem)
On OS X, the JXTaskPaneContainer (and JXTaskPane) use a very light background colour that seems to be outside the control of the setBackground(Color) method. It looks nice, but there are two problems:
1. sometimes I would like to be able to set these to be the same colour as their parent
2. if I place a JPanel inside a JXTaskPane, it inherits the background colour of the JXTaskPaneContainer's parent - which might not be appropriate at all!
As an OS X Lion workaround only, I can set the background colour of my JPanels, but I would prefer for background colours to be automatically inherited and for me to be able to get the colour using standard means.