/** * This method implements ActionListener, which is a super-interface of Action. When a component * generates an ActionEvent, it is passed to this method. This method simply passes it on to the * Command object which is also an ActionListener object */ public void actionPerformed(ActionEvent e) { command.actionPerformed(e); }