Question: Create a Java GUI application using JavaFX framework. The user should be asked to enter their information in the fields listed below. A business class
Create a Java GUI application using JavaFX framework.
The user should be asked to enter their information in the fields listed below. A business class should be created that contains private instance variables for those fields listed, a get and a set method for each of the instance variables, and a method that calculates the order total. Error checking should be done on all fields using a GUI validation class. If errors occur on any of the fields, an error message should appear using an Alert class to display a dialog box. The cursor should be placed in the first field in error, and the field should either be highlighted or cleared. The user should be able to re-enter data, until all fields have valid data.
Last Name present
First Name present
Email Address present
Credit Card Number 16 digits numeric no dashes
The user should be able to select from any of the following items:
Hooded Sweatshirt $39.95
T-shirt $12.95
Ball Cap $16.95
Coffee Mug $ 7.95
Once the user has selected an item, they will need to select the number of items they wish to order using a Combo box. Number of items should be 1 - 20.
The user should be asked to select only one of the following payment methods:
VISA
MasterCard
American Express
Discover
The items ordered and the payment method should be tested to make sure the user has selected one of them.
* A button should be displayed with the text Submit Order. If this button is clicked, all error checking should be performed. Once all fields have valid data, the order should be calculated.
* The order total should be calculated as follows:
>The quantity of items ordered multiplied by the price of each item.
>If the order totals less than $50.00, a $7.97 shipping charge should be added to the order.
>If the order total is $50.00 or over there should be no shipping charge.
*A message should display using the Alert class to display a dialog box Thank you for placing an order; when it arrives we will notify you by Email. $00.00 will be charged to your (credit card) .
*The order total should be formatted with a dollar sign and a decimal point.

On-Line Order Last Name: First Name Email Address: SweatshirtG9.95) T-Shirt(12.95) Ball Cap(16.95) Coffee Mug/7 95) American Express Discover Master Card Submit Order VISA Credit Card Number: Expiration Month: Expiration Year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
