Extreme IT Products is a local supplier that specialises in the sales of the latest Information Technology hardware devices. The business has recently opened an outlet in the town you reside and has hired the software development house you work for to design a Java application to manage their products. Your line manager has requested you to develop the application with the following requirements: 1.8. The user must have the ability to search for a product. The user will select menu item two (2), which will prompt the user to enter a product code. If a valid product is found in the application, then display the product details to the user. If no valid product is found, display an error message to the user that the product cannot be located.
In Java SE netbeans:
Extreme IT Products is a local supplier that specialises in the sales of the latest Information
Technology hardware devices. The business has recently opened an outlet in the town you reside
and has hired the software development house you work for to design a Java application to
manage their products.
Your line manager has requested you to develop the application with the following requirements:
1.8. The user must have the ability to search for a product. The user will select menu item two (2), which will prompt the user to enter a product code. If a valid product is found in the application, then display the product details to the user. If no valid product is found, display an error message to the user that the product cannot be located.
Sample Product Search
Please enter the product code to search: A55 ************************************************************* PRODUCT SEARCH RESULTS ************************************************************* PRODUCT CODE: A55 PRODUCT NAME: Elitebook PRODUCT WARRANTY: Laptop PRODUCT CATEGORY: 2 years PRODUCT PRICE: R 15000 PRODUCT STOCK LEVELS: 3 PRODUCT SUPPLIER: IT_4_Africa ************************************************************* Enter (1) to launch menu or any other key to exit |
Sample Invalid Product
Please enter the product code to search: 1 The product cannot be located. Invalid Product Enter (1) to launch menu or any other key to exit |
1.9. The user must have the option to delete a product that has been saved. The user must
first enter the product code to be deleted. Next, the user must confirm whether they
want to delete the product.
Step by step
Solved in 2 steps with 1 images