Menu

[Solved] Part 1 Modify Java Application Easy Use Gui Application Interaction Performed One Screen T Q37170232

Part1

Modify your Javaapplication so that it is an easy-to-use GUI application where allof the interaction is performed on one screen. You will now takethe individual components and translate them to a singleinteractive GUI interface using the following GUI components,container, the event listeners, and event subclasses to enhanceyour 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

Part2

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

The customerinformation that the customer must now enter that should bevalidated 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, subtype, and sub size)
  • Entered delivery address that includes street, city, state, andzip code
  • Entered telephone number xxx-xxx-xxxx

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

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

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

Expert Answer


Answer to Part 1 Modify your Java application so that it is an easy-to-use GUI application where all of the interaction is perform… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *