Component Palette Properties dialog box

Use the Component Palette Properties dialog box to customize the Component Palette or add components to the Palette.

The Component Palette Properties dialog contains three pages:

To display this dialog box, choose Tools|Configure Palette or right-click the Component Palette and choose Properties.

Note: A component can only be placed on the Palette if it is a JavaBean.

See also:
Getting Started with JBuilder: Adding a component to the Palette


Pages page

The Pages page customizes the display of the Palette. You can add and remove Palette pages and components, rename them, and change their order.

Pages

The pages in the Component palette. Pages are listed in the order they currently appear.

Components

The components for the page selected in the Pages list. Components are listed in the order they currently appear.

Add

Displays the Add Page dialog box, where you create new pages for the Component Palette.

Remove

Removes the selected page or component from the Component Palette. The action is immediate; you are not asked to confirm the removal.

Before you can delete a page, it must be empty of components.

Properties

If a page is selected, displays the Page Properties dialog box, where you chhose or enter a name for the selected page.

If a component is selected, displays the Item Properties dialog box, where you set properties for the selected component.

Move Up

Moves the selected page or component to the left on the Palette.

Move Down

Moves the selected page or component to the right on the Palette.


Add from Archive page

Once you have deployed your Bean as a .JAR or .ZIP file, you can use the Add from Archive page to add the component in an archive file to the Palette. This is also how your customers can install your Bean from the .JAR or .ZIP file onto the JBuilder palette.

Select a JAR or ZIP File

The name of the .JAR or .ZIP file that contains the JavaBean you want to add to the Palette.

Browse

Displays the File Open dialog box, where you choose the name of the .JAR or .ZIP file to open.

JavaBeans Found in Archive

Lists the JavaBeans found in the selected archive file. If JavaBeans are contained in the package, they are listed below the Package list.

Only Display Classes that Have BeanInfo

Only displays classes that contain JavaBeans.

Add Component to Page

The page on the Component Palette to add the component to.

Install

Installs the component in the selected class to the selected page.


Add from Package page

If you are still developing your Bean and haven't placed the classes into a .JAR or .ZIP file yet, you can use the Add from Package page to select the class file from your project that contains the Bean.

Note: If you are using your Bean in a designer during its development, you will need to restart JBuilder if you change and recompile your Bean, or you won't see the effects of the change.

Select a .class File in the Package

The name of the package to open.

Browse

Displays the File Open dialog box, where you choose the package to open.

JavaBeans Found in Package

Lists the JavaBean components found in the selected package.

Only Display Classes that Have BeanInfo

Only displays classes that contain JavaBeans.

Add Component to Page

The page on the Component Palette to add the components to.

Install

Installs the selected components to the selected page.