I have a component that calls repaint() controlled by a timer. The repaint() is done only for the changed area since the last call. If now another window e.g. the transport bar is moved over my plugin/component and then removed, I need to repaint this former covered area, too. So the paint() of my component needs to now if it was called by the timer-controlled repaint() or by the os or the ComponentPeer or whatever.
Is there a way to get information about the area of the component that is covered by another window? Or a flag that indicates that a former covered area is visible now?