In the GUI (Graphical User Interface) based frameworks like Applet etc., its used.
Examples of Components : buttons, checkboxes, and scrollbars of a typical Graphical User Interface etc., all are extended by the component classes.
- Component class is act as a listner class in Java.
If you not clear read the below :
The Component class is the abstract superclass of the Nonmenu-Related Abstract Window Toolkit components. Class Component can also be extended directly to create a lightweight component. A lightweight component is a component that is not associated with a native opaque window.