Unit 4 Part 1&2 - Modify your Java application so that it is an easy-to-use GUI application

Question # 00768373 Posted By: dr.tony Updated on: 06/30/2020 06:08 AM Due on: 06/30/2020
Subject Education Topic General Education Tutorials:
Question
Dot Image

Unit 4 - Submission OOAD

3 additional pages of screenshots in design document and Java code project files zipped 

 

Part 1

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

 

Dot Image
Tutorials for this Question
  1. Tutorial # 00767788 Posted By: dr.tony Posted on: 06/30/2020 06:13 AM
    Puchased By: 2
    Tutorial Preview
    The solution of Unit 4 Part 1&2 - Modify your Java application so that it is an easy-to-use GUI application...
    Attachments
    Unit_4_Part_12_-_Modify_your_Java_application_so_that_it_is_an_easy-to-use_GUI_application.ZIP (18.96 KB)

Great! We have found the solution of this question!

Whatsapp Lisa