calling repaint() in static method?

is there any way? or there isn’t? ???

You cannot do it without a reference to the object you want to repaint.