Tooltip text showing through panel
I have three panels on a JLayeredPane.
'topPanel' is at layer 3, 'middlePanel' is at layer 2, and 'bottomPanel' is at layer 1.
'topPanel' can be expanded and overlaps the 'middlePanel'.
My problem is that when I move the mouse around on 'topPanel', the 'tooltip' text on the controls of the 'middlePanel' appear through the 'topPanel' when it is expanded and overlaps the 'middlePanel'.
'topPanel' and all it's child panels have their opaque value set to 'true', but the tooltip text can still be seen.
Any ideas would be much appreciated, many thanks,