What type of listener is needed for an ActionEvent?

A good answer might be:

An object which implements ActionListener.

Repeat after Me

Here an application that has two TextFields. The user will type into one field and hit enter. The application will then copy the text from that field to the other.

In the picture, the user typed in "Sherlock" and then hit enter.

QUESTION 8:

  • How many AWT objects does the frame contain?
  • Which of them need a registered listener?

Click Here after you have answered the question