Question: I need help with this java code. I have provided a picture of what the output should look like. Ex 0 1 : Complete Programming

I need help with this java code. I have provided a picture of what the output should look like.
Ex01: Complete Programming Challenges 10. Slot Machine Simulation with Enhancements.
A slot machine is a gambling device into which the user inserts money then pulls a lever (or presses a button). The slot machine then
displays a set of random images. If two or more of the images match, the user wins an amount of money that the slot machine
dispenses back to the user.
Create a JavaFX application that simulates a slot machine with enhancements (e.g., showing the total amount
spent and a reset button). The screenshots below show the examples of how the GUI should look.
A. Basic Requirements:
1. The application should let the user enter into a TextField the amount of money he or she is inserting into the machine.
2. When the user clicks the Spin button, the application should display three randomly selected symbols. (Slot machines
traditionally display fruit symbols. You will find a set of fruit symbol images in the Student Sample Programs.)
a. The program should also display the following amounts:
i. the amount user won for the spin, and
ii. the total amount won for all spins, and
iii. the total amount spent for all spins
3. When the user clicks the Reset button, the program should do the following:
a. display the amount $ 0.00 that:
i. the amount user won for the spin, and
ii. the total amount won for all spins, and
iii. the total amount spent for all spins
iv. the three BlankFruit.png images on the three image views
v. the message Insert an amount to play on the information label.
4. Add code to validate the input amount:
a. Display the message Error. Try a different amount on the information label if the input amount is empty or
invalid (e.g., a negative value or zero) after the Spine button is clicked. Refer to Fig. 6.
5. Validate the correctness of your app.
6. You are required to zip all the files (source code, image files, ..., etc.) into one zipped file and submit the zipped file to
Canvas. Otherwise, you will be deducted for 20 points
B. Layout Requirements:
1. Display the Slot Machine Simulator in the title bar
2. On the apps initial load, use the BlankFruit.png to display the three images.
3. Set the scene size width to 550 pixels and height to 300 pixels.
4. Set the spacing between the three images to 20 pixels.
5. Right-align the three amounts.
6. Add the extra spaces or paddings or margins to controls to provide good user experience.
7. Make sure that the appearance of your app resembles to the app in the screenshots
I need help with this java code. I have provided

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!