Coursehero USA logo
  • My account
  • Order now
Order Now
Homework Help

Java gui | Computer Science homework help

2 min read
Posted on 
January 7th, 2023
Home Homework Help Java gui | Computer Science homework help

EXCELLENT GRADES AS DISCUSSED:

This is based on a java interface of a sub shop online ordering system where the user will be able to order sub sandwich and beverage doing the cost. the user will input their name and address.. Modify your Java application so that it is an easy-to-use GUI application where all of the interaction is performed on one screen. You will now take the individual components and translate them to a single interactive GUI interface using the following GUI components, container, the event listeners, and event subclasses to enhance your application as a more GUI-appropriate interface:

  • GUI components
  • Container
  • Event listeners
  • Event subclasses (at least 3–4 utilized)
    • ActionEvent
    • ItemEvent
    • FocusEvent
    • KeyEvent
    • MouseEvent
    • WindowEvent
  • ActionPerformed Method

Part 2

For this assignment, you are being asked to make sure you are exception handling by verifying that all of the customer-entered information is valid before the order is submitted to ensure order accuracy.

The customer information that the customer must now enter that should be validated includes the following:

  • Entered user name (must fill in a name)
  • Entered at least one sub to order
  • Selected all three attributes for sub (such as bread type, sub type, and sub size)
  • Entered delivery address that includes street, city, state, and zip code
  • Entered telephone number xxx-xxx-xxxx

In this assignment, you are adding in error handling to make sure the customer is filling in all of the required information.

To accomplish this task, you will be utilizing the following Java classes:

  • Methods in the character class and StringBuilder class to validate and manipulate characters in a string
  • Try… Catch for the exception handling of all input fields

Order an Essay Now & Get These Features For Free:

Turnitin Report

Formatting

Title Page

Citation

Outline

Place an Order
Share
Tweet
Share
Tweet
Calculate the price
Pages (275 words)
$0.00
Coursehero USA
Company
Legal
How Our Service is Used:
Coursehero USA essays are NOT intended to be forwarded as finalized work as it is only strictly meant to be used for research and study purposes. Coursehero USA does not endorse or condone any type of plagiarism.
Subscribe
No Spam
© 2023 Coursehero USA. All rights reserved.
Coursehero USA will be listed as ‘Coursehero USA’ on your bank statement.