HI,

I draw a rectangle on a class that extends from component .

g.drawrect(x,y,width,height);

but i want to remove it how do i do that;

g.clearRect doesn't work