Hi all,
I'm having a problem with components' tooltips not being rendered correctly when those components are on a glass pane.
What I want to accomplish is this:
I have a JFrame, full of different components. (A huge GUI really.)
On top of this, I want to put a glass pane with a transparent black background.
On the glass pane, I want to show a JPanel with some stuff on it, e.g. JButtons with tooltips.
More or less, I want it to work the same way as a modal dialog, except being a little sexier.
It all works fine, except for the tooltips. It appears that they are rendered
beneath the glass pane. I of course want them to show up as if the panel displayed on the glasspane was in its own frame - meaning
above everything else.
Is there any way I can make this work the way I want to?
The following code captures the essence of what I'm doing: