Help Center

Local Navigation

Create a text label

  1. Import the net.rim.device.api.ui.component.LabelField class.
  2. Create an instance of a LabelField to add a text label to a screen.
    LabelField title = new LabelField("UI Component Sample", LabelField.ELLIPSIS);
    
Next topic: Lists and tables

Was this information helpful? Send us your comments.