Adding JavaBeans from a JAR or local directory
You can also add beans from a JAR archive or from a local directory.
To add a bean from a JAR archive:
- Either:
- Select the path and directory, click on the
.jar
file, and click Mount.The archive then appears in the Explorer, under the Filesystems tab, and in the Object Browser.
- If you are using the Explorer, expand the node of the archive or directory that you have just added and locate the JavaBeans component you want to add.
- Right-click on the JavaBeans component in the Explorer or Object Browser and choose Tools | Add to Component Palette from the contextual menu.
- In the Palette Category dialog box, select the tab under which you would like the bean to appear in the Component Palette and click OK.
The new JavaBeans component on the Component Palette in the Main Window under the category you assigned.
To add a bean not packaged in a JAR or ZIP file:
To add a bean to the IDE from the Explorer:
Instead of using Tools | Add to Component Palette, you can copy and paste (using the Edit menu in the Main Window, contextual menus in the Explorer or Object Browser, or keyboard shortcuts) beans into the appropriate category under
Component Palette
in the Global Options window. If you copy and paste using the main menu or a contextual menu, you can choose from up to four options from the Paste submenu. For more on these options, see Package contextual menu commands.
Contents | Prev | Next | Index |