Component Palette

The Component Palette displays the visual components of the Borland JBuilder component library and the layout managers available for organizing containers. Each package of related components is displayed on a separate tab.

The Component Palette enables you to:

Normally, the pointer icon on the left side of the Component Palette is selected, and appears indented. When you click a component icon in the Component Palette while in the Design mode, the component icon button becomes selected (indented), and the Pointer icon on the left temporarily becomes unselected, appearing raised.

When a component icon button is selected in the Component Palette, be careful where you click next, because your mouse pointer is now carrying the selected component. Though your mouse pointer looks the same as usual, you are now in a special Component Drop mode.

Some components can be placed in several locations within the Component Tree (on the lower left part of the AppBrowser) or within the UI Designer (on the right). If you are not sure where to drop the component, you can click the top node of the Component Tree and watch where the new node is added in the tree. To remove the new node from the tree, select the node in the tree and press the Delete key.

When you drop a component onto the Component Tree or UI Designer, the component's icon button in the Component Palette becomes raised again to the normal position, and the Pointer icon button on the left becomes selected again, indicating you are no longer in Component Drop mode.

To drop a selected visual component at its default size, click in the Component Tree or in the UI Designer. To drop a visual component at a custom size, click and drag in the UI Designer.

To deselect a component in the Component Palette, click the Pointer icon button in the Component Palette. This way, you won't add the component to your program the next time you click in the Component Tree or in the UI Designer.

See also:
User's Guide: Adding UI components to your UI
User's Guide: Managing the Component Palette