create the two menus listed below in bolds , and ensure they follow the instructions and info provided

Application Option #1: Shopping Cart

Develop a shopping cart application (think of a simplified version of amazon.com). When the application begins, it shows a login window.Depending who logs in, a customer or the seller, the application performs different functions.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Minimal Functional Specification:

Here is a draft version of a minimal functional specification. Students have to adapt it, extend it, and make it their own:

A customer logs in with a user name and password and a window (frame) opens where he can browsethrough a list of available products that includes the product name, price, and available quantity.From this window the customer can select products and add them to the shopping cart or they can click on a product and get the fullproduct description, pricing and availability (quantity available) in a pop-up window. Thecustomer can add the product to the shopping cart (quantity), depending on availability.The shopping cart total amount is kept current on the main product browse window.

The customer can proceed to checkout at any time. On the checkout window, the shoppingcart can be updated by changing the item count for each product in the cart. At checkoutthe customer verifies the shopping cart content and pays for the goods bysupplying the credit card. The application does not arrange for shipping.

Specific requirements for Option #1 projects

  • Abstract the credit card payment process. Assume all payments are successful.
  • The application graphical user interface should use Swing classes or equivalent.
  • The product/user databases must be persistent, meaning that when the user closes the application, then restarts it, the state of the product inventory must be restored. Use a text file, orJava Serialization (see Chapter 7) for storing the product and user database (seller and customer(s)).The initial state of the product and user databases are not specified, and could bepre-populated with objects.

When the seller logs in, a window opens where the current state of the inventory is shown.The seller can update the inventory by adding products – specifying product name, invoice price,sell price and by updating the available quantity.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

The internal product representation includes ID, type, quantity, invoice price, andselling price. The application must keep track of all costs, revenues and profits.The seller can access this information from the application UI.

FYI:Profit = Revenues – Costs,Revenues = Sum of sell price for all sold items

Costs = Sum of the invoice price for all items brought in the inventory (bought)

BASED ON ALL THE INFO FOR THE PROJECT ABOVE ALL YOU MUST DO IS CREATE THESE TWO MENUS AND ENSURE THAT THEY WORK ACCORDING TO THE REQUIREMENTS AND SPECIFICATIONS LISTED.

Customer Review Cart Menu leads to Customer Purchase Details Menu

Customer Purchase Details Menu leads to Customer Review Cart Menu

  • Customer Review Cart Menu (where a customer can review the items in their cart)
  • Customer Purchase Details Menu (where a customer can review their address and card info before a purchase)

Group 29: Shopping Cart Functional Specification
This is a Java shopping cart application with a Swing UI. It logs in Customers, who can add a selection of
products to a cart, and then purchase those items. Customers can even view more detailed information about a
product before adding it. In the Cart, they can adjust item quantity or remove unwanted items. Sellers can also
log in. Sellers may view products similarly to customers, alongside being able to edit product details, add
products, and remove products.
Use Cases
Customer Logs In
1. System displays Login page with option to sign in or create account.
2. Customer enters username and Password
3. Customer selects “Submit”
4. System compares login info to database and finds matching username and hashed password
5. System displays home page: a list of purchasable items, each with a picture, name, and price
6. System displays options to view details, add to cart, and view cart
Customer Logs In — Variations
Customer Enters Incorrect Login Info
1.1 After step 1 Customer enters bad Login username/password combination
1.2 Customer selects “Submit”
1.3 System compares login information to database
1.4 System informs customer that login information was incorrect and to try again
Customer Clicks Create Account
2.1 After Step 1 Customer selects “Create Account”
2.2 System directs customer to the account creation page
2.3 Customer enters a username, password, the same password again, and an email
2.4 System validates password and if username and email aren’t already used
2.5 System redirects to login page
Customer Enters Bad Create Account info
3.1 After step 2.2 Customer enters already used information or mismatched passwords
3.2 System updates registration page to inform customer of the mistake
Customer Reviews Product Details
1. Customer carries out Customer Logs In
2. Customer selects item name from list
3. System directs customer to product page: display of a products name, picture, price, seller, and description.
4. System displays options to “Return” to product list or to “Add to Cart”
5. Customer selects “Return” and returns to hope page.
Customer Adds Items to Shopping Cart
1. Customer carries out Customer Logs In
2. Customer selects “Add to cart” next to item
3. System adds item to cart
Customer Adds Items to Shopping Cart — Variations
Customer Is In Product Details
1.1 Customer carries out Customer Reviews Product Details
1.2 Customer selects “Add to cart”
1.3 System adds item to cart
Item already in cart.
2.1 After step 2 OR 1.2 System finds item already in cart
2.2 System increases quantity of item in cart
Customer Reviews/Updates Shopping Cart
1. Customer carries out Customer Logs In OR Customer Adds Items to Shopping Cart
2. System displays shopping cart, a list of unique items the user wants to purchase and the quantity
3. System displays options to return to hompage, delete item from cart, change quantity, and to checkout
4. Customer Selects “Return to Homepage”
5. System displays homepage
Customer Reviews/Updates Shopping Cart — Variations
User Selects “Delete Item From Cart”
1.1 After step 3 Customer selects “Delete Item From Cart” next to the item to delete.
1.2 System removes that unique item from the Customer’s cart and updates the page.
Customer Selects “Change quantity”
2.1 After step 3 Customer selects “Change quantity”
2.2 Customer enters new quantity between 1-99
2.3 System updates new quantity in cart and page
Customer Selects “Checkout”
3.1 After step 3 Customer selects “Checkout”
3.2 System displays checkout page with fields for payment info and address.
3.3 System displays options to “Complete Checkout” or “Cancel Checkout.
Customer Checks Out
1. Customer carries out Customer Reviews/Updates Shopping Cart variation Customer Selects
“Checkout”
2. Customer enters payment and address information
3. Customer selects “Complete Checkout” which submits payment, address, and cart.
Customer Checks Out — Variations
Customer Selects “Cancel Checkout”
1.1 After step 1 OR step 2, customer selects “Cancel Checkout”
1.2 System returns to Cart page
Seller Logs In
1. System displays Login page with option to sign in or create account.
2. Seller enters username and Password
3. Seller selects “Submit”
4. System compares login info to database and finds matching username and hashed password
5. System displays seller page: a list of items up for sale, each with a picture, name, and price
6. System displays options to view details, remove product, and add product.
Seller Logs In — Variations
Seller Enters Incorrect Login Info
1.1 After step 1 Seller enters bad Login username/password combination
1.2 Seller selects “Submit”
1.3 System compares login information to database
1.4 System informs seller that login information was incorrect and to try again
Seller Reviews/Updates Inventory
1. Seller completes Seller Logs In
2. Seller selects a product name to view details
3. System displays product details, an option to go back, and an option to edit details.
4. Seller selects “Edit Details” and submits new/changed details
5. System updates product in database and for the display
Seller Reviews/Updates Inventory — Variations
Seller Selects “Remove Product”
1.1 After step 1. Seller selects “Remove Product”
1.2 System prompts seller for a confirmation
1.3 Seller selects “OK”
1.4 System removes product
Seller Cancels Removing Product
2.1 After step 1.2 Seller selects “Cancel”
2.2 No product is removed
Seller Adds New Product
1. Seller completes Seller Logs In
2. Seller selects “Add Product”
3. System displays add product page with space for product details
4. Seller enters product information
5. Seller selects “Submit”
6. System adds product to product database

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER