Event Handler Dialog

See Also

The Event Handler Dialog enables you to set source objects to trigger events to which one or more objects with event listeners react. You can also remove events using the Event Handler Dialog. Whenever you define an event handler, the code for the listener and the empty body of the handler method is generated. In addition, the default name is assigned to the event handler.

To open the Event Handler dialog, select the component in the Inspector window and choose the event you want the component to trigger from the Events submenu. Alternately, you can access the dialog using the Events area of the Properties window.

Notes:

For more information about how to handle events in your application, including information about the Java event model, see the Creating a GUI with JFC/Swing tutorial at:

See Also
Setting Events With the Connection Wizard
Managing Component Events
Designing Java GUIs with the GUI Builder

Legal Notices