Chapter 7 ■ IntroduCtIon to JavaFX 9: overvIew oF the JavaFX new MedIa engIne
dot notation. As you will see in Figure 7-11 in red, NetBeans will also code the import statement for the
Background class at the top of the Java class.
Figure 7-10. Add a line of code after the root StackPane object, type root and a period, and select
setBackground()