Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1

Chapter 22 ■ SCoring engine: Creating the SCore Ui LayoUt and SCoring the Content


Figure 22-17 shows a Run (^) ➤ Project work process, used to test the Java code for a red Wrong: text
heading.
Figure 22-16. Add scoreWrong object at the top of the class, instantiate and configure it, and add it to the
SceneGraph
Figure 22-17. Use a Run ➤ Project work process to preview the Score panel and Red “Wrong:” text

Free download pdf