Label

Palette category
AWT
Palette bean
Label
Project
Java class libraries
Package
java.awt
Type
Label

Use a Label bean to provide a text label for your user interface.

Use a JLabel bean, rather than a Label bean, if you want to use it in a Swing container. Although Swing and AWT beans can be mixed, it is inadvisable.


Related procedures
Adding a Text Component

Related references
Text Beans
Beans for Visual Composition