Modify java application where all of interaction is perform

Assignment Help JAVA Programming
Reference no: EM131756249

Assignment

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)

o ActionEvent
o ItemEvent
o FocusEvent
o KeyEvent
o MouseEvent
o 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.

Reference no: EM131756249

Questions Cloud

Show the number of transmissions to manufacture : Prepare a production budget for both the second and third quarters that shows the number of transmissions to manufacture.
Create a visually interesting client handout based on case : Create a visually interesting client handout based on the case study chosen for the Psychiatric Diagnosis assignment.
Social implications of spending : What are the social implications of spending so many hours inside a virtual world? (5 lines at least)
Social implications of spending : What are the social implications of spending so many hours inside a virtual world? (5 lines at least)
Modify java application where all of interaction is perform : Modify your Java application so that it is an easy-to-use GUI application where all of the interaction is performed on one screen.
What is disparate treatment : What is Disparate Treatment? Is this the same as Disparate Impact?
How much income should be recognize by the employee : An electronics store sold a home theater system to an employee for $300, even though the retail price was $500. The gross profit percentage is 40%.
Contribution of your organization in our philippine society : line describe the contribution of your organization in our Philippine society
Success of quality risk management on a project : How can Senior leadership have a significant role in ensuring the success of Quality Risk Management on a project?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Application that simulates a cash register

Implement a graphical application that simulates a cash register. Provide a text field for the item price and two buttons for adding the item to the sale, one for taxable items and one for nontaxable items. In a text area, display the register tap..

  Write a definition for two recursive methods

public static String filter(String s, String rem) to return a String that is the result of removing every occurrence of all of the characters in the second parameter from the first parameter. For example, filter("abcdbdabdcbddda","bd") should retu..

  Prepare an application that uses an array

Write an application that uses an Array to store 10 messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be "I love Java the programming language!"

  Program for a grading system

Must use file operations, exception handling, recursive programming (to calculate averages), and encapsulation (or inheritance) in the program. Program for a grading system to be used by students and professors

  Develop a program to emulate a purchase transaction

Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class

  Write java program to utilizes gui with five text fields

Write down the program called MaxMinAvgGUI.java which utilizes GUI with five(5)text fields which asks user to enter 5(five) decimal numbers. 1(one)number in each text field.

  Write code to store fictitious names in that array

An office building has two floors (0 to 1), each of which has four offices (0 to 3). Each office occupied by one person. Declare an array to store the names of occupants for each office. Write code to store fictitious names in that array

  Implement a shopping cart class with user interface

project will be to implement a shopping cart class with user interface (UI) that contains main() in Net Beans. The UI class will be used to perform user input/output and to invoke the appropriate methods of shopping cart class. When your program star..

  Using an array in java

Using an array in Java - have a list of keywords from a web service and have to print out the list of keywords on the screen with one keyword on each line. This is my code

  Implement a css file using media queries

Create a web page that introduces me to the other students in class. Include animation, audio, and video - Implement a CSS file using media queries to adjust

  Java shape program console

Program is adequately documented. It's comments identifies its name, purpose, author and date. Throughout the code, comments and/or relevant component names should attempt to make the program understandable.

  Calculate the maximum flow of a directed weighted graph

Comp 251 Assignment. We will implement the Ford-Fulkerson algorithm to calculate the Maximum Flow of a directed weighted graph. Here, you will use the files WGraph.java and FordFulker-son.java, which are available on the course website. Your role ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd