Appendix A. Design Patterns
Event Objects
Whenever you define an event object
for passing information related to a particular event, you should
create a subclass of java.util.EventObject
. By
convention, these classes should end in the word
Event. This helps to quickly identify their
purpose to programmers. All of the event subclasses provided by the
core Java class libraries follow this convention.
Get Developing Java Beans now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.