Setting Events With 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 (Image of Connection Mode button)in the Form Editor toolbar.
  2. In the Form Editor or Inspector window, 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:

Connection Wizard: Select Source Event
Connection Wizard: Specify Target Operation
Connection Wizard: Enter Parameters

Legal Notices