What is the name of the method that receives ActionEvents when a Button is clicked?

A good answer might be:

actionPerformed( ActionEvent e )

Review of actionPerformed( )

The parameter for actionPerformed( ) is a reference to an ActionEvent object. When the button is clicked, one of these objects is sent to the method. So far, we've not used the ActionEvent object. You will see this shortly. Here is the picture of what is happening:

Usually the registered ActionListener is the same object as the container that holds the Button. Usually this is an object who's class inherits from the AWT Frame class. (In other words, you define a class based on Frame that contains a Button and is also a listener.)

QUESTION 2:

Could a frame hold two buttons?

Click Here after you have answered the question