In this chapter we looked at events and event handling. We started with a generic discussion of events in Java. Following that, we looked at the basic philosophy behind Java event delegation.
Next, we looked at the semantic events and worked examples that listened for each of them. Finally, you learned how to handle low-level events. You saw examples of the most important listener interfaces and adapter classes.