how to set java fx view for a full screen code example Example: how to make javafx full screen default stage.setMaximized(boolean)