Hello.
This time I need help with a little Event problem.
I would like to be able to detect whenever a component pops up on top of my frame. Be it a tooltip displayed when the user hovers the mouse, or a menu, toolbar, combobox, etc.
The problem comes with a third party library which uses a heavyweight component. This heavyweight component is embedded in my normal swing GUI. The problem is that heavyweight components are usually drawn on top of lightweight swing components, unless you revalidate the frame at the right point in time.
If I was able to revalidate the frame when a popup pops up the lightweight popup would be shown correctly on top of the heavyweight component. But I just cant find a way to do so without manually adding action / change / component listeners to anything and everything.
So, if there is any "simple" way of detecting these kinds of events I would very much appreciate if somebody could tell me.
Thank you all very much.