Shows the benefits of using lightweight components. The graphic on the left is a heavyweight component (extends Panel). The one on the right is a lightweight component (extends Component).
View Java applet source