Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com

JLAp extends Applet ...

extends Panel ...

extends Container ...

extends Component ...

extends Object.

Component's repaint method is called.

This method contains a call to Component's update method. However, because its subclass Container also contains an update method, this one is executed instead. The Container update method overrides the one in Component.

The Container update method has a call to Container's paint method, but JLAp's paint method is called instead, because it overrides Container's paint method.

.