private Stage getStage ( final StageWaveBean swb , final Scene scene ) { Stage stage = swb . stage ( ) ; if ( stage == null ) { stage = new Stage ( ) ; } stage . setScene ( scene ) ; return stage ; }
Gets the stage .