please any one help me.I need concept for component and container
A container holds a group of components. It arranges other components (including other containers) through the use of layout managers, which use specific layout policies to determine where components should go as a function of the size of the container. It should always have a content pane that holds the components. A component is an object having a graphical representation resides inside the container and can interact with the user.
Ex- JFrame,Canvas,JRootPane etc are containers and JTable,JButton,JTextFields,JLabel etc are components.
If you want to learn about the swing components and container, visit the following link: