JXCollapsiblePane has some code in it that fusses around with WrapperContainers.
This code forces the underlying content pane to be opaque (with comments about
JDK5 and Linux), but the net result is that the component doesn't respect any
attempt to setOpaque(false). Even if you getContentPane and call
setOpaque(false) on that, it looks like the wrapper container remains opaque.