Javatpoint Logo
Javatpoint Logo

Java AWT TextArea

The object of a TextArea class is a multi line region that displays text. It allows the editing of multiple line text. It inherits TextComponent class.

AWT TextArea Class Declaration

Java AWT TextArea Example

Output:

java awt textarea example 1

Java AWT TextArea Example with ActionListener

Output:

java awt textarea example 2
Next TopicJava AWT CheckBox




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA