Flicker Prevention Summary
update()
is called on Graphics
of Frame, resulting in:
some event occurs,
such as setting Frame
visible, or
repaint()
paint()
is called on
Graphics of Frame
buffer
is
painted
on
Graphics of Frame
drawing
is on
buffer