How do I create an event to be used in a JavaBeans component?

John Zukowski

New events must subclass the java.util.EventObject class. If they do not, a development environment will not be able to find out the necessary information from the component using the event.

See How do I create my own events to pass between objects? for a complete example.