Implement an event listener as a separate class
Due Date: Thursday of Week 5
10 points
In this lab, you'll create
- Open the FutureValueApp file.
Review the code for this application to see that the ActionEvent listener for the Calculate and Exit buttons are implemented by the FutureValuePanel class.
Run the application to refresh your memory on how it works.
Modify the application so that the ActionEvent Listener for the Calculate and Exit buttons is implemented in a separate class rather than by the FutureValuePanel class.
Compile the application, and test it to be sure it still works correctly.
Include in your program the following comments:
- Name of program
- Team's name with all the names of the members (e.g. Team A: John Doe, Jane Smith, etc.)
- Current Date
- Computer system and compiler you are using
- Brief description of the program
Compile and run the Java program.
Take a screen capture by hitting simultaneously the keys Alt and Print Screen (Prt Sc) of the output results (console) and paste it in MS Paint. Save it as a gif file.
When you are ready, upload the java program and the gif file by clicking the link below:
Upload Lab
I cannot grade if I don't get the files and receive your email.