Design and implement a Java program that creates a GUI using JavaFX ( you cannot use JavaFX FXML) that will allow a customer to make an appointment with a photographer and afterwards order a variety of items which are listed below.

computer science

Description

PROBLEM:

Design and implement a Java program that creates a GUI using JavaFX ( you cannot use JavaFX FXML) that will allow a customer to make an appointment with a photographer and afterwards order a variety of items which are listed below. You will need to make sure that the customer has already had an appointment before they can place an order. The GUI should allow the customer (ONLY via JavaFX UI Controls- text areas, buttons, checkbox, radio button, etc.) to input the following information:

Customer Name

First Name

Last Name

Customer Address

Street Number

Street Name

Customer Phone Number

Book an appointment:

Date

Time

Type of Event (wedding, family event, regular photoshoot, graduation pictures,etc.)

Order Information

Picture Size

11 X 13

10 X 8

5 X 7

4 X 6

Wallet

Optional items

Stationary Cards

Photo Books

Conditions:

Photographs and other items cannot be purchased unless an appointment was made for a photo shoot/event.

The customer must specify the quantity of each item they have chosen. The number of each item ordered cannot exceed the following:

11 X 13 - 5 prints

10 X 8 - 10 prints

5 X 7 - 20 prints

4 X 6 -30 prints

Wallet - 50 prints

Stationary Cards - 200 prints

Photo Books – 10 items

 

The GUI will have two buttons. The first will be used to create a running total of the current order. This button should be clicked every time an item is added to the order to give a running total of the current order. The second button will be used to display the following:

Name of customer

Phone Number of  customer

Address of customer

All items and quantity ordered by the customer

The grand total for the  order

Pricing

Booking Fees:

Standard photo shoot fee - $100

Standard Event fee - $500

Base Price for items :

11 X 13 - $20

10 X 8 - $10

5 X 7 – 20¢

4 X 6 -10¢

Wallet – 5¢

Stationary Cards - $1.50

Photo Books – $10

Once calculated the system should display the Name and Phone Number of the customer, Address, items ordered and quantity for each and the cost of the entire purchase when button is clicked. 

Error checking of all data is required.


Instruction Files

Related Questions in computer science category