View Full Version : Erasing a drawn image in java after a few seconds

03-11-2003, 02:07 AM
How do i erase an image drawn in a window in java after a certain amount of time?

03-11-2003, 02:38 AM
can't remember, I think there is a repaint method that you can call that takes an amount of time that you can set to 10. You would have to have it just repaint the bg all white or whatever to erase the drawing.