Question: Develop an application to manage the product details using a binary file. Your application should save the information of each field of the product using
Develop an application to manage the product details using a binary file. Your application should save the information of each field of the product using binary format and each record should be of the same size. Possible operations and sample GUI is provided for your reference.Design the Main Product GUI that looks like as shown below: File menu has Exit menu item, so when user selects this option, it will terminate the application . Product menu has two menu items:o Add/Update menu item, so when user selects this option, it will display Add/Update window to the user (shown below). o Find/Display menu item, so when user selects this option, it will display theFind/Display window to the user (shown below).Program the buttons to perform following operations: Add Should add the information of new product to the file. Product ID should be unique,quantity in hand and unit price should be number and above 0 and name is required. (1 point) First Should read the first record stored in the file and display the details of it in the controls.(1 point) Previous if possible, should read the previous record to the current record stored in the file and display the details of it in the controls. (1 point) Next if possible, should read the next record to the current record stored in the file and display the details of it in the controls. (1 point) Last Should read the last record stored in the file and display the details of it in the controls. (1point) Update should update the information of currently displayed record on the GUI. (1 point) Program the Find/Display button to perform following operation: Depending upon which radio button is selected, it should read the product details from the file and display in the JTable/JTextArea. If All radio button is selected, it should display all the products stored in the file. (1 point) If Keyword radio button is selected, it should display all the products stored in the file which contains the specified keyword in their name. (1 point) If Price Range radio button is selected, it should display all the products stored in the file which has the price specified between to and from (1 point)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
