The component palette is a toolbar on the right side of the main window, beneath the menu bar. The palette holds commonly used and customized visual components that you can add to forms.
You can add a component to a form by clicking the component in the palette and then clicking in the Form Editor window in the area where you want to place the component. You can also add your own components to the component palette for easy use in other forms, as described in Adding a Bean to the Component Palette.
Buttons in the component palette show three different modes that the Form window can be in.
Mode | Description | Icon Selected |
---|---|---|
Selection mode | You can select a component in the Form Editor window (default mode). | ![]() |
Connection mode | You can link two components together with an event. | ![]() |
Add mode | You can place the component selected in the component palette into a form in
the Form Editor window. A component that has been selected but not yet added to a
form is shown above the mode icons (a JTextPane component has been
selected in the example shown here). |
![]() |
If you prefer a smaller component palette or if you have too many components to manage with tabs and icons, you can choose not to display the components. Right click in the Component Palette to the left of the components and choose Small Palette from the contextual menu.
When displaying the Small Palette, you can still select components to add to a form. Click the Add Mode button and selecting a component from the menu.
See also | |
---|---|
Adding a New Component
Using the Connection Wizard Form Editor Customizing the Component Palette |