Adding a New Component

Once you have created a new form, the first thing you will probably want to do is add components to it. You can do this by selecting a component from the Component Palette or by selecting a bean from the Explorer.

To add a component using the component palette:

  1. Select a component in the component palette by clicking its icon.

    Alternatively, if you have chosen the small palette, click the Add Mode (plus sign) button and select a component from the menu:

    Image of Add Mode button selected and the menu of available components displayed

  2. To add one instance of the component, click in the Form Designer pane in the area where you want to place the component.

    Alternatively, to add multiple components of the same type, hold down the Shift key and click in multiple places.

To add a bean using the Explorer:

  1. In the Explorer, 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 Designer or the Other Components node in the Component Inspector.
Tip 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

Form Editor

Legal Notices