lock fullscreen #71
@ -32,9 +32,6 @@ public class Controller extends Application {
|
||||
stage.setTitle("ROAD TO MASTER YOU");
|
||||
|
||||
// Full Screen mode
|
||||
stage.setFullScreen(true);
|
||||
stage.setFullScreenExitHint("");
|
||||
primaryStage.setFullScreenExitKeyCombination(KeyCombination.NO_MATCH);
|
||||
|
||||
root = new MenuAccueil();
|
||||
|
||||
@ -59,6 +56,10 @@ public class Controller extends Application {
|
||||
});
|
||||
}
|
||||
stage.setScene(scene);
|
||||
|
||||
stage.setFullScreen(true);
|
||||
stage.setFullScreenExitHint("");
|
||||
stage.setFullScreenExitKeyCombination(KeyCombination.NO_MATCH);
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
launch();
|
||||
|
Loading…
Reference in New Issue
Block a user