Production ready solution for full screen?
MuratDec 1 2011 — edited Dec 2 2011I am creating a full screen application (simulation/game). Full screen is part of the requirements.
So I set:
primaryStage.setFullScreen(true);
and then add the scene to the stage:
primaryStage.setScene(aScene);
When I run the application I immediately get the message "Press escape to exit full screen mode" on top of the screen (covering the company logo is usually not a good idea). The message fades after a bit.. but then I go to the next scene
primaryStage.setScene(aNewScene);
and the message "Press escape to exit full screen mode" covers the screen again (and I assume it will do this every time I change scenes). This will obviously not fly. Any idea how I get rid of these messages once and for good. Thanks