Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the JavaFX FXML application template and create a program called ask me. Add a label that contains the instructions. The instructions should say, think

Use the JavaFX FXML application template and create a program called ask me. Add a label that contains the instructions. The instructions should say, think of a question in your mind and press the button for an answer. Next, add a button that displays the message, 'Ask me!' Finally, when the button is pressed, display a random message.

Make sure you have at least four or five messages that can be displayed and use a random number generator to choose a message each time. I estimate this challenge might take about 15 minutes. This estimate is probably a little long, but is the first one in the series and it might take some time debugging. After you're done, check out the solution movie to see how I solved the problem. Good luck!

1- using Java FX)

2- calling FXML code)

3-add a label for instructions)

4- add a button)

5- button text says ask me)

6- random number generator)

7- print a random message to the screen)

8-per random messager with a max of 6 messages)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Office 365 For Beginners 2022 8 In 1

Authors: James Holler

1st Edition

B0B2WRC1RX, 979-8833565759

More Books

Students also viewed these Databases questions