Explore BrainMass

Explore BrainMass

    A Java GUI program to manage an inventory

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    1. Modify the Program to include an Add button, a Delete button, and a Modify (buttons have been added!!) button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an item number one more than the previous last item.
    2. Add a Save button to the GUI that saves the inventory to a C:datainventory.dat file. (button added already)
    3. Use exception handling to create the directory and file if necessary.
    4. Add a search button to the GUI that allows the user to search for an item in the inventory by the product name. If the product is not found, the GUI should display an appropriate message. If the product is found, the GUI should display that product's information in the GUI. (Again button Added)

    © BrainMass Inc. brainmass.com October 9, 2019, 10:23 pm ad1c9bdddf


    Solution Preview

    To create this solution, you have to rewrite most of the files that were
    provided. The MeritBadge.java class is an encapsultation of what a
    merit badge is. It contains the name, id, etc. for each badge.

    The ...

    Solution Summary

    This solution shows how to write a Java GUI application to manage an inventory of items. In this case the items being managers are merit badges.