Components are graphical user interface (GUI) widgets like checkboxes, menus, windows, buttons, text fields, applets, and more.
In Java all components are subclasses of
java.awt.Component
. Subclasses of Component
include
Canvas
TextField
TextArea
Label
List
Button
Choice
Checkbox
Frame
JButton
JLabel
JComboBox
JMenu
Components paint themselves.