I am trying to draw and animate with SWT using PaintListeners
. I would like to influence the timing of the animation, so I have looked far and wide but could not found anything explaining where and how the PaintEvents
are generated and how to influence that, e.g enforcing a framerate or sending the PaintEvent only to cetrain Widgets.
So, how can this be done? And, should this be done at all ? - finding nothing on that topic suggests that there may be a better way.