JTextComponent describes the common behavior shared by all text components:
a Highlighter for selection support,
a Caret for navigation throughout the content,
a set of commands supported through the actions property (an array of Action implementers),
a set of key bindings through a Keymap or InputMap/ActionMap combination,
an implementation of the Scrollable interface so that each of the specific text components can be placed within a JScrollPane, and the text stored within the component.
14.14.JTextComponent
14.14.1.
JTextComponent: the parent class for all the components used as textual views.