Previous   Next

Bean Wizard

Handling Java events

Use the Java Events panel to specify any class in your project that you want to be a sink for any of the standard events defined by the Java Abstract Windowing Toolkit (AWT) event delegation model, including mouse, key, and window events. The class implements the appropriate Listener interface for each type of event you specify.

See the JavaSoft JDK 1.1.1 documentation for specific information on each type of event supported, and on the JavaBeans event delegation model.

Bean Wizard Java Events Panel

Note: For many events, the wizard generates corresponding methods in the component controller to enable correct event delegation. If you later remove the event handler, you should also remove the corresponding methods from the controller.

Select another tab to define other aspects of the component. Press the Next>> button to go to the code generation panel.


Previous   Next

Copyright © Taligent, Inc. 1996 - 1997.
Copyright
© IBM Corporation 1996 - 1997.
All Rights Reserved.