AWT constructs graphical interface user basic elements, used to design GUI component classes and container classes, most AWT components have their swing equivalent components, swing component name is usually added in front of the AWT component name "J" such as JButton.
Java creates an object created by subclasses or indirect subclasses of the component class as a component, which is a component in Java that can hold and arrange components. The commonly used container is the framework, the container class introduces other components for a method add (), used to add other components to the Container class Component object, the container itself is a component, you can add a container to another container, implement container nesting.
In Java, a frame is used to create the initial interface, the top-level window of the GUI.
201671010129 2016-2017-2 "Java Programming" a summary of graphic programming for learning Java