Quote Originally Posted by alphaqt
in fact i want immediate repainting.
when a new row is added, it is highlighted directly (background in red, then after white)
It will be immediate -- for your eyes. In reality it'll be a few miliseconds later, but I'm sure you won't notice The point is that each repaint() is executed immediately and two or more update() calls can be "merged", resulting in much more efficient painting. That's why it's better to use update() (and probably why repaint() is protected).