In the Eclipse RCP application I'm building, I noticed that when I rebuild parts of the GUI (by adding/removing controls), the GUI gets updated and redrawn immediately upon each modification, which causes a flicker effect.
Is there a way to enable double buffering, so that the GUI refresh will happen only once at the end of the event dispatch cycle?
From stackoverflow
-
Try:
Control#setRedraw(false); ... modify ... Control#setRedraw(true);
Peter Walser : This solved the problem of flickering, many thanks! It's still not double buffered, but at least the painting can be dereferred during the updates, that's worth as much as a double buffer :)
0 comments:
Post a Comment