Use a label to display text that identifies a component.

This screen shows a label.

Best practice: Implementing labels

  • Use the LabelField class to create labels. For more information about creating labels, see the API reference guide for the BlackBerry® Java® SDK and the BlackBerry Java Application UI Quick Reference Guide.
  • Use clear, concise labels.
  • Group and order labels logically (for example, group related items together or include the most common items first). Avoid ordering values alphabetically; alphabetical order is language specific.
  • Punctuate the label with a colon (:).
Next topic: Text fields
Previous topic: Text fields

Was this information helpful? Send us your comments.