1 | All of the methods in the previous diagram are called automatically by the Java VM |
2 | What if the programmer wants to repaint the applet explicitly? |
3 | In that case, call the update(...) method: public void update( Graphics g ); |
4 | The update(...) method simply clears the applet window and calls paint(...) |