[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Time of Execution of PaintListener

Hello,

is there a way to determine and change the time when a paintlistener is executed?

Background: I'm trying to draw some additional information on top of a component that contains other components. The information is drawn correctly but the child components overdraw the added information. Changing the draw order of the components with moveAbove or moveBelow has no effect.

To make things more clear here is my setup:

Composite
 |
 | - Label

I add the Paintlistener to the composite and am drawing a line which should be drawn over the label. The line is drawn correctly but the label overdraws the line.
I want the paintlistener to be executed after the label is drawn.
Anyway of doing this without having to go into plattform specific details?


Thanks for any help
Stefan