In the previous lesson we defined separate listeners for each event.


Common GUI components