Bean Introspection  «Prev 

Using Event Design Patterns - Exercise

Objective: How do you use event design patterns with Java Beans?
Define event registration methods based on event design patterns.
Using the appropriate event design patterns, write event registration method definitions for an event listener of type WindowListener, assuming the Bean is a multicast event source.
How do the registration methods change if the Bean is a unicast event source?
Type your answer below and click the Submit button when you are finished.