Mke the program especially well structured and readable


Assignment: Object Oriented Programming

Consider the inventory management application of Project 6. A solution to this project is given at the end of this document. You can use this code or your own code in Project 6 as a basis for this assignment. Either way is fine.

For the fixed part of this project you must extend the program as follows:

• Add a delete command.
• Keep the inventory in alphabetical order. When a new item is to be added, put the entry into the appropriate location in the array.
• Construct a Graphical User Interface (GUI) for the user. Do not use JOptionPane. You must use JavaFX.
• Make the program object oriented. This means having a separate class for the internal representation of the inventory, with methods like add, list, or delete. It also means having a separate class for the GUI aspects of the program.

The program must follow the 10 Program Standards given with Project 4 (all previous projects are still posted in the folder "Previous Projects"). These standards are reposted in a file called
Program Standards for Java Course.doc

For the optional part of this project you may extend the program in various ways. Some areas for extension are as follows:

• Usability and Aesthetics: Make the GUI especially pleasing to see and use. One example would be to make the list command give a nice listing.

• Human Engineering: Provide good human engineering for the user. This means being very tolerant of user errors and making it easy to use. For example, you might give the user an option to name the inventory file, or you might check if the user tries to add another entry with the same name. Also, consider a simple Help command.

• Reliability: Make the program especially reliable. Try to make it so that the program will not crash even under incorrect inputs. For example, handle a missing file well or prevent an array out of bounds error.

• Maintainability: Make the program especially well structured and readable.

• Functionality: Enhance to functionality of the program in various ways, even small ways.

For functionality, one enhancement would be to check that a find or enter command actually has a non-null string for the name. A little more work would be to check the validity of an item's quantity. For instance, always verifying that an item's quantity is greater than or equal to zero. An obvious enhancement could be a delete command.

For another example, one could allow a partial match to find or delete an entry. For example, "F po" would match any entry with "pop" in the name, for example "Pop" or "Popcorn" or "Potato". You might use the function "find" in C++ for this feature.

Final Submission: Submitting a portfolio or dossier of sorts (a stapled or bound set of pages) containing

• A separate cover page (or pages) itemizing the grounds for extra credit. It is your responsibility to itemize all grounds for extra credit.
• A printout of your code,
• A printout from several consecutive runs, illustrating the various features of your program. For example, you must show that the file I/O works.
• A printout from the list command

In the sample runs, each of the commands "e", "f", "l", "d", and "q" should be illustrated.

Attachment:- Project_GUI_Inventory_Mgmt.rar

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Mke the program especially well structured and readable
Reference No:- TGS02272560

Now Priced at $90 (50% Discount)

Recommended (98%)

Rated (4.3/5)