Create a form using SWING components from where data can be stored in a table. The project should provide functionality for searching items based on price. If two or more items in the system have the...

Create a form using SWING components from where data can be stored in a table.
The project should provide functionality for searching items based on price. If two or more
items in the system have the same price, only the first matching item should be displayed
in a JOptionPane message box. If no such appliance is found in the table, then the system
should display something meaningful in a JOptionPane message box. The search method
should be implemented based on the binary search algorithm. The system GUI should
have a text field for entering the search criteria (in this case, price) and a search button
named “Search Appliance” for searching.
You are required to implement a function for querying how many appliances are available
in a category. For this function, either a Combo box or Check boxes should be
implemented to provide the search criteria (e.g. Air Purifier, Micro-oven, refrigerator), and
a button named “Appliances available in category” for searching. The search result should
be displayed meaningfully in a JOptionPane message box, for example “There are two
refrigerators: Door-in-Door and Side by Side”.
Validation should be implemented in the system with a proper message using
JOptionPane dialog box.
From the menu open file section .csv or .txt file should be imported which consists a set
of data (which holds at least 12 items and 5 different categories) and added those data
to the table for demonstration.

May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here