Create a JavaFX application that implements a short survey. The first question should ask the user for his or her favorite color and present the choices “red”, “orange”, “blue”, and “green” in radio buttons. The second question should ask the user for his or her age and present the choice in a spinner with the range 10–100. The third and final question should ask the user to select his or her favorite programming language from the choices “Java”, “C++”, “Python”, and “C#” presented in a choice box. Add a button, that when clicked, summarizes the user’s selections.
The solution is similar to the Additional Controls Demo given in the text.
See the code in SurveyForm.java
Computer Science & Information Technology
You might also like to view...
Which type of network topology is most popular?
a. bus b. Ethernet c. ring d. star
Computer Science & Information Technology
The ____ rule defines the size of the print area and margins for printing.
A. @print B. @page C. @output D. @window
Computer Science & Information Technology
Flipping and rotating an image are the same thing
Indicate whether the statement is true or false
Computer Science & Information Technology
What are the limitations of creating a CIDR address?
What will be an ideal response?
Computer Science & Information Technology