Help Center

Local Navigation

Add a UI component to a screen

  1. Import the following classes:
    • net.rim.device.api.ui.component.CheckboxField
    • net.rim.device.api.ui.container.MainScreen
  2. Create an instance of a UI component.
    CheckboxField myCheckbox = new CheckboxField("First checkbox", true);
  3. Add the UI component to your extension of a Screen class.
Previous topic: UI components

Was this information helpful? Send us your comments.