This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.