This causes a rubber band line to track between the start button and the cursor. Click on the Juggler instance. You will see a message that the BeanBox is generating adapter classes. Do the above two steps on the stop button, except choose the stopJuggling method in the EventTargetDialog . Clicking on the start and stop buttons will now start and stop the Juggler .
Event sources fire events at event targets .
In this example the Juggler bean is the event target. When you connect the rubber band line to another bean, you are selecting the event target Bean. The EventTargetDialog lists methods that can accept that type of event or that take no parameters. When you choose a method in the EventTargetDialog , you are specifying the method that will receive the fired event, and act on it. The BeanBox generates an adapter class the interposes between the source and the target.