Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The Assignment Design a class OrderedSet to manipulate ordered sets. The elements of an Orderedset object are distinct and in ascending order. Note that the
The Assignment Design a class OrderedSet to manipulate ordered sets. The elements of an Orderedset object are distinct and in ascending order. Note that the insert method must output an appropriate message if the element to be inserted is already in the list Use the OrderedSet class to write a GUI application to keep track of a hardware store's inventory. The store sells various items. For each item in the store, the following information is kept: item ID, item name, number of pieces in the store, and the selling price. The store manager wants to see the following reports * all records in ascending or descending order of item ID, based on a user selection (you may use a radio button) * maximum price and a list of items with that price o the total selling value for all items in the store Your program should read an input text file containing the items (Hint: use JFileChooser class to get the name of the input file). The format of the input file is as follows noofItems itemID itemID itemName qantity temName quantity sellingPrice sellingPrice The first line indicates the number of items. The items' data is given thereafter. A sample input file follows 1111 Circular Saw 2222 Cooking Range 125.99 1129.99 12 The Assignment Design a class OrderedSet to manipulate ordered sets. The elements of an Orderedset object are distinct and in ascending order. Note that the insert method must output an appropriate message if the element to be inserted is already in the list Use the OrderedSet class to write a GUI application to keep track of a hardware store's inventory. The store sells various items. For each item in the store, the following information is kept: item ID, item name, number of pieces in the store, and the selling price. The store manager wants to see the following reports * all records in ascending or descending order of item ID, based on a user selection (you may use a radio button) * maximum price and a list of items with that price o the total selling value for all items in the store Your program should read an input text file containing the items (Hint: use JFileChooser class to get the name of the input file). The format of the input file is as follows noofItems itemID itemID itemName qantity temName quantity sellingPrice sellingPrice The first line indicates the number of items. The items' data is given thereafter. A sample input file follows 1111 Circular Saw 2222 Cooking Range 125.99 1129.99 12
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started