1. You are to use the GUI provided and finish the missing parts as commented in the source code see image.

2. Commands description

  • Add
    Add order to order HashMap, display a confirmation, Clear Screen
  • Delete
    Delete order from HashMap and from screen, display confirmation, clear screen
  • Find
    Find order and load it to the screen
  • List
    Displays a list of all the orders in the following format see image.
  • Clear
    Clear the screen and clear the order HashMap of all orders
  • Reset
    Clear all the fields on the screen
  • Update
    Update the order in the order HashMap

3. Print out the test results.

CLASSES

  • CLERK (inherits Person)
    Holds information about clerk processing the order
  • CUSTOMER (inherits Person)
    Holds customer information
  • JAVAZON
    Hold information about the store, contains orders
  • JAVAZONAPP
    Controller, collects information from user, display result
  • JAVAZONFRAME
    GUI Interface Class
  • LINEITEM
    Has information about each line in the order. Will store the product and the quantity and total for each line
  • MENU
    Holds information about the menu consists of products
  • ORDER
    Holds information about order, contains products
  • PERSON
    Parent class holds information about person
  • PRODUCT
    Class to hold product information
  • VALIDATOR
    Class to perform validation

Additional Info

Test Data see image.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.