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.
Read moreWhy @component is used in Java?
@Component is an annotation that allows Spring to automatically detect our custom beans . In other words, without having to write any explicit code, Spring will: Scan our application for classes annotated with @Component. Instantiate them and inject any specified dependencies into them.
Read moreWhat is a component in Java GUI?
GUI Components. • A GUI component is an object that represents a screen element . such as a button or a text field . • GUI-related classes are defined primarily in the java.awt. and the javax.swing packages.
Read more