A container is one of the most important class supertypes in AWT. This supertype class is used to provide containership for all components managed by it. The most common containers are frames, panels, and dialog boxes. Containers are also components, so as with other components, you interact with them by getting and setting their properties, calling their methods, and responding to their events. In addition to containers managing GUI components, they can also manage non-GUI components, including menus, for example. Table 10.1 lists many of the Java containers derived from the Container class.
|Applet||An extension of Panel. The class is used to render an applet ...|