Caution: If your event class does not extend EventObject, chances
are that your code will compile just fine because none of the methods
of the EventObject class are actually needed, and none of the various
other methods ever try to cast the event objects to the EventObject class. However, your bean will mysteriously fail - the introspection mechanism will not recognze the events.