Is it somehow possible on Swing to set a TitledBorder transparent so that a background image shines through?
Found the answer.
Use the method
setOpaque(false)
on the underlying panel.