private Scene getScene ( final StageWaveBean swb , final Region region ) { Scene scene = swb . scene ( ) ; if ( scene == null ) { scene = new Scene ( region ) ; } else { scene . setRoot ( region ) ; } return scene ; }
Gets the scene .