Specifications
Sun Services
Java™ Programming Language
Module 10, slide 6 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Containers
• Add components with the add() method.
• The two main types of containers are Window and
Panel.
•AWindow is a free floating window on the display.
•APanel is a container of GUI components that must
exist in the context of some other container, such as a
window or applet.










