Javatpoint Logo
Javatpoint Logo

Java AWT Label

The object of Label class is a component for placing text in a container. It is used to display a single line of read only text. The text can be changed by an application but a user cannot edit it directly.

AWT Label Class Declaration

Java Label Example


java awt label example 1

Java AWT Label Example with ActionListener


java awt label example 2
Next TopicJava AWT TextField

Youtube For Videos Join Our Youtube Channel: Join Now


  • Send your Feedback to

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA