answersLogoWhite

0

The paint method is where actual painting occurs. If you want to change the way a Component is drawn, you should override this method.

The repaint method typically just tells your Component that it should call its paint method as soon as it can. This is the method you should call to force a Component to update itself. The Java API warns not to ever directly call the paint method, mostly for efficiency reasons.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What are the best methods for repairing cracks in paint on a wall?

The best methods for repairing cracks in paint on a wall are to clean the area, fill the crack with spackling compound, sand it smooth, prime the area, and then repaint the wall.


What paint do you use to repaint a driver shaft?

You aren't really supposed to repaint it but if you do it looks best with chrome paint.


Ways to fix dull paint on cars?

Repaint it


How do you repaint a carbon fiber hood?

spray paint it


What is the opposite of repaint?

To paint would be the opposite of repainting.


What paint do you use to repaint a marblite pool?

Why in the world would you want to paint a marbelite or plaster pool?


What can you do about the peeling Paint on your 2000 Pontiac Grand Prix bumper?

repaint it


Can you repaint a white football helmet a different color?

Yes, you can repaint any color helmet to any color. I have fellow teammates that take their old helmets and paint them to our orange all the time.


What rhymes with repaint?

acquaint, ain't, complaint, constraint, faint, greasepaint, housepaint, paint, plaint, quaint, repaint, restraint, saint, taint


How often should I re-paint my house?

You should repaint your house every ten years. That is the average normal cycle to repaint your house.


Can you repaint an auto body?

Yes you can repaint a car body there is prep work invalved with sanding and fixing rust and dents then there is primer and then the paint


How much does it cost to repaint a bike?

The cost to repaint a bike typically ranges from 50 to 200, depending on the quality of paint and labor involved.