Back to course

Switching Scenes

JavaFX 0 to Hero

Switching Scenes

To move from one view to another, you load a new FXML file and set it as the root of the current Scene or create a new Scene for the Stage.