Maintaining the Display
Applet's paint method: paint(Graphics g)
Draws an empty gray box
Invoked as needed
By environment
Programmatically
To get USEFUL paint behavior:
Override Applet’s paint method
Applet is responsible for “Doodles” only!
Previous slide
Next slide
Back to first slide
View graphic version