update() is called on Graphics of Frame, resulting in:
Frame is cleared with background color, then


paint() method
some event occurs, such as setting Frame visible, or repaint()called
paint() is called on Graphics of Frame
whatever is drawn in paint is displayed
The update() method can be over-ridden.