make javafx open full screen code example
Example 1: how to make javafx full screen default
stage.setMaximized(boolean)
Example 2: make javafx open full screen
//for max screen size
stage.setMaximized(true);
//to prevent max screen size
stage.setMaximized(false);