You can add a new component to your form by selecting a component from the Component Palette, selecting a container in the Component Inspector, or selecting a bean from the Explorer.
To add a component using the Component Palette:
If you are displaying the small palette, click
in the
Component Palette and select a component from the Add Mode menu.
To toggle between the large palette and small palette, right-click in the mode button region of the Component Palette.
Alternatively, to add multiple components of the same type, hold down the Shift key and click in multiple places.
To add the component to the Other Components node, click in the white area in the Form Designer.
![]() |
When working with nested containers, it is sometimes difficult to select the container to which you want to add the component. You must first select the desired container before selecting the component to add. You then select the component from the component palette, hold down the Alt key, and click the desired container again to add the component. |
![]() |
You can add several components to a container and arrange them at a later time. Select the container first and select each of the component in the Component Palette. Press the spacebar after each component selection and each component will be automatically added to the Form Designer. |
To add a component using the Component Inspector:
The component is added to the container in the Form Designer pane.
To add a bean using the Explorer:
The class must be a bean (it must be possible to create an instance of the class using an empty public constructor), and it must be compiled.
![]() |
If you have a bean that you expect to repeatedly add to forms, consider adding the bean to the Component Palette. |
See Also | |
---|---|
Adding a Bean to the Component Palette
Component Palette Selecting Components in a Form Reloading a Form Form Designer Form Editor |