i have run into some weird repaint issues before as well. its probably because i do not know the *right* way to do it, and what i do is probably cheating a bit. what i would do, that would work for sure, is to toggle the visibility of the component. do a
this will guarantee a repaint.