# Uses of Class
java.awt.TextComponent

Packages that use TextComponent
Package
Description
java.awt
Contains all of the classes for creating user interfaces and for painting graphics and images.

## Uses of TextComponent in java.awt

Subclasses of TextComponent in java.awt
Modifier and Type
Class
Description
`class`
`TextArea`
A `TextArea` object is a multi-line region that displays text.
`class`
`TextField`
A `TextField` object is a text component that allows for the editing of a single line of text.