Chapter 22 ■ SCoring engine: Creating the SCore Ui LayoUt and SCoring the Content
Declare the picked Node at the top of your class, as shown highlighted in Figure 22-25, to remove this error.
Figure 22-25. Remove the Node declaration from createSceneProcessing(); relocate it to the top of the class,
making it global
Figure 22-24. NetBeans error highlights picked Node in the if() statement because it is local to
createSceneProcessing()