Container. The Container is a component in AWT that can contain another components like buttons, textfields, labels etc . The classes that extends Container class are known as container such as Frame, Dialog and Panel. It is basically a screen where the where the components are placed at their specific locations.