Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1

Chapter 21 ■ Questions and answers: Finishing the setup Methods and digital audio


Use your Run ➤ Project work process to test this code adding real answer Button objects, seen in
Figure 21-21.


Figure 21-20. Add the four a1Button through a4Button object answers (one is correct) using the setText()
method call


Figure 21-21. Use a Run ➤ Project work process to see how answer Button data looks when you test square 1

Free download pdf