Can ESC to exit full screen be avoided?

Randahl Fink Isaksen randahl at
Fri Nov 2 20:08:57 PDT 2012

When I run my application in full screen (on a mac) I am using the escape key for a feature in my application. However if I hit escape, JavaFX (or perhaps Mac OS X) sends my app out of full screen mode. Can this be avoided?

I have tried invoking event.consume() on the ESC key event, but that does not prevent the exit from full screen.



More information about the openjfx-dev mailing list