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:
- Ensure the class you want to use is in your project's classpath.
- Right-click in the Component
Palette and choose Palette Manager.
The Palette Manager
opens.
- Click the Add From Project button.
- Select the project that contains the object you want to add to the Component
Palette. Click next.
- 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.
- Optionally, check the Show Components from Libraries option to add class
components from the libraries and resources of the project.
- Some components listed might be used by the emulator for internal processes,
and therefore can not be added to your application.
- Choose a category from the Add to Category dropdown menu.
The wizard will add the components to the selected category in the Component
Palette.
- 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