[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Changing EditPart color

>I have an editpart that I changed.  Just like in the counter example where 
>the counter is incremented.  Except only the color of my figure changes.
>
> I have set the new background figure color in my editpart, but how do I 
> get the thing to show with the new color?
>
> repaint, invalidate, revalidate have not done anything.  Also the 
> documentation of these 3 methods is quite lacking.

See JComponent#revalidate, JComponent#invalidate, and JComponent#repaint