Make the program especially well structured and readable

Assignment Help JAVA Programming
Reference no: EM131476994

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

Reference no: EM131476994

Questions Cloud

Define the macrs depreciation schedule : You are considering the following investment.The discount rate is 11% and the corporate tax rate is 34%.
Time series model : A time series model is a forecasting technique that attempts to predict the future values of a variable by using only historical data on that one variable.
Search engine optimization and pay-per-click advertising : Search Engine Marketing consists of Search Engine Optimization (SEO) and Pay-Per-Click (PPC) advertising.
What was two-year holding period return on infosys share : You bought Infosys share for Rs 4,250 two years ago. You held the stock for two years, and received dividendper share of Rs 90 and Rs 125 respectively.
Make the program especially well structured and readable : Make the program especially well structured and readable. Enhance to functionality of the program in various ways, even small ways.
Prepare a document flowchart using a system tool : Assessment item - System Documentation and BI. Based on the interview below with the department supervisor, prepare a document flowchart using a system tool
What is the difference in the interest amounts : We will be purchasing a home for $135,000. The first thing that most banks require is a down payment. The typical down payment that banks require is 20%.
How much will she take home under each method : If Jill's company earns $120,000, all of which she will pay to herself, how much will she take home under each method?
What was its net income for the period : San Mateo Healthcare had an equity balance of $1.38 million at the beginning of the year. At the end of the year, its equity balance was $1.98 million.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd