Description
Modify project 2 as follows
1. Include a File menu with the options Open and Quit. The open option is used to open a
transaction file and run the transactions.
2. Include a Database menu with three menu items: Open (let the user choose a file to initialize the
database), Display Fruits (use a JFrame to display all the fruits in the database), and Display
Vegetables. Write a DatabaseMenuHandler for this menu item.
3. The transaction file for this project will include PLU codes that are not in the database. Have the
database throw an ItemNotFoundException in this case, and include a try/catch block in your
program that will catch this exception and pop up a JOptionPane input dialog to get the price for
the missing item.
Program Submission
Submit a jar file through Blackboard as you did for project 2.
The program is due by midnight on the date indicated at the top of this handout, and will not be
accepted after the cutoff date. The date of submission to Bb is the official date for your project.