Reputation: 7
How an item(object, image, draw object) on Canvas can be deleted(removed, unplaced with its position deletion(removation)) after it has been painted, drawed?
Upvotes: -1
Views: 250
Reputation: 1882
If you would like to set color after painting, please try this method in your program:
paint(Graphics g){
g.setColor(Color.WHITE); getBackground();}
Upvotes: 0