JLabel (Swing)

Use a JLabel bean JLabel to provide a text label for your user interface. You can add a graphic to the label as well as text. You can also define a mnemonic in the label as a means of quick access to a text input field.


Related procedures
Adding a text component

Related references
Sun's JLabel bean documentation
Text beans
Beans for visual composition