Remember that you define listener classes, define listener methods, and connect listener instances to components. Built-in machinery calls your connected listener methods when events occur.