|
|
This stage is split up into two parts: the detection of global components and the detection of instantiated components.
Inthe first stage, the wizard searches through the members of a class to determine which components can be made collaborative instantly. These include textFields, Buttons, Lists, Checkbox, and various other java.awt.* components. If you would like to make the component specified collaborative then activate the Checkbox and hit the Next Object button to continue.
NOTE: If you make a component collaborative, then make sure that any classes who are listening for the component's events don’t collaborate those event handling methods - this could result in deadlock.

The second part of the component detection process involves cases where an instance of a potentially collaborative component is created where it doesn't correspond to a member of the class. The wizard shows you the code for the instantiation and by pressing the view method button you can get the entire picture. If you want to make it collaborative, activate the checkbox and hit the Next Object button.
NOTE: If you make a component collaborative, then make sure that any classes who are listening for the component's events don’t collaborate those event handling methods - this could result in deadlock.
| Wizard Documentation Index | Next Section -> Determining Potentially Collaborative Methods. |
Habanero® is a registered trademark owned by The Board of Trustees of the University of Illinois. Copyright 1996-1998. All rights reserved. Java(TM) is a proprietary trademark owned by Sun Microsystems, Inc.
|
|