You create a single ActionListener (it's an interface, so it's common for people to implement the interface in their application-containing JFrame for example) and Event.getSource() has a reference...