You are required to develop a WAREHOUSE MANAGEMENT software. This Java-based application has 2 menu items. One for adding and removing products, as shown
You are required to develop a WAREHOUSE MANAGEMENT software. This Java-based application has 2 menu items. One for adding and removing products, as shown in Figure 1. Another one for searching a product, as shown in Figure 1. You can store the data of products in a text file, or implement Serializable interface, or save an XML/JSON object. When a user adds a new product, the amount of this product is added to the current amount of the same product. When a user removes a product by inputting product name and clicking on Remove button, the amount of this product is decreased by 1. If the amount of a product is zero, this product is removed out of the database. You are free to re- design the graphical user interface, but the functionality of the application has be kept unchanged. Product Name Amount Description Product Name Add Product A Amount 5 Remove FIGURE 1. GUI for adding/removing Products Product List Description This is a sample description 1. Small Chair 2. Big Chair 3. Table A Search FIGURE 2. GUI for searching a product 322 2
Step by Step Solution
3.31 Rating (160 Votes )
There are 3 Steps involved in it
Step: 1
import orgjsonsimpleJSONObject class Item private JSONObject items public Item items...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