Adding a Custom Component to the Visual Mobile Designer

See Also

You can use the Add Component wizard to add user-defined screens, and other Java components you have created outside the IDE, to the Visual Mobile Designer (VMD). Although they cannot be edited, you can still add them to the Flow Designer and incorporate them into your application.

To add a custom component to the VMD:

  1. Ensure the class you want to use is in your project's classpath.
  2. Right-click in the Component Palette and choose Palette Manager.
    The Palette Manager opens.
  3. Click the Add From Project button.
  4. Select the project that contains the object you want to add to the Component Palette. Click next.
  5. Select any objects you want to add from the list of Found MIDP Classes.
    All classes inheriting from Displayable or Item on the selected project's classpath are shown in the list.
  6. Optionally, check the Show Components from Libraries option to add class components from the libraries and resources of the project.
  7. Choose a category from the Add to Category dropdown menu.
    The wizard will add the components to the selected category in the Component Palette.
  8. Click Close to add the components.
See Also
About Visually Designing MIDP Applications
Working with the Visual Mobile Designer
Visual Mobile Designer Tasks: Quick Reference

Legal Notices