Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1

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


As you can see in Figure 21-17, when you use Run ➤ Project to test the setOnFinished() code that you
just added, you will see that changing your camera view and location has changed your Q&A panel layout.


Figure 21-16. Add a cameraAnimIn.setOnFinished() method call and add qaLayout.setVisible(true) to the
event handler

Free download pdf