Using the Connection Wizard

Use the Connection wizard to set events between two components within a form without having to write much (or any) code by hand.

To start the Connection wizard:

  1. Click the Connection Mode button in the Component Palette:
    Image of Connection Mode button
  2. In the Form Designer or Component Inspector, select two components to be connected. The first component (such as a button) will fire the event, and the second will have its state affected by the event. Each selected component will be highlighted immediately after selection.

    The Connection wizard starts, enabling you to decide what event you want and generating the Java code.

For help on each step in the Connection wizard, see:

Selecting the Source Event
Specifying the Target Operation
Entering Parameters and Property Values
For more information on components and events, see:
Working With Components
Managing Component Events

Legal Notices