public Parent getParent ( ) { final ImageView imageView = new ImageView ( getClass ( ) . getResource ( getImagePath ( ) ) . toExternalForm ( ) ) ; final ProgressBar splashProgressBar = new ProgressBar ( ) ; splashProgressBar . setPrefWidth ( imageView . getImage ( ) . getWidth ( ) ) ; final VBox vbox = new VBox ( ) ; vbox . getChildren ( ) . addAll ( imageView , splashProgressBar ) ; return vbox ; }
Override this to create your own splash pane parent node .