Adding a Component to a Form

See Also

You can add a new component to your form by selecting a component from the Palette window, selecting a container in the Inspector window, or selecting a bean from the Filesystems window.

To add a component using the Palette window:

  1. Select a component in the Palette window by clicking its icon.
  2. To add one instance of the component, click in the Form Editor in the area where you want to place the component.

  3. 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 Editor.

Tip 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 Palette window, hold down the Alt key, and click the desired container again to add the component.
Tip You can add several components to a container and arrange them at a later time. Select the container first and select each of the components in the Palette window. Press the spacebar after each component selection and each component will be automatically added to the Form Editor.

To add a component using the Inspector window:

  1. In the Inspector window, select the container where you want to add a component or select the Other Components node if you want to add the component there.
  2. Right-click to display the contextual menu and choose a component from the Add From Palette submenu.

    The component is added to the container in the Form Editor.

To add a bean using the Filesystems window:

  1. In the Filesystems window, find the class node of the bean.

    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.

  2. Right-click the class node and choose Copy from the contextual menu.
  3. Choose Paste from the contextual menu of either the Form Editor or the Other Components node in the Inspector window.
Tip If you have a bean that you expect to repeatedly add to forms, consider adding the bean to the Palette window.
See Also
Adding a Bean to the Palette Window
Palette Window
Selecting Components in a Form
Reloading a Form
Form Editor

Legal Notices