I am making a view in SceneBuilder for my JavaFX application. I want my view to be maximized. How can I achieve this in SceneBuilder or the .fxml file?
.fxml
This is the code that works for me
primaryStage.setMaximized(true);
it miximizes my window screen on the launch of the app.