Can ESC to exit full screen be avoided?
Kevin Rushforth
kevin.rushforth at oracle.com
Fri Nov 2 21:28:40 PDT 2012
By design, there is no way to avoid having ESC exit from full-screen
mode. There is a JIRA filed to allow trusted apps to be able to disable
this:
http://javafx-jira.kenai.com/browse/RT-15314
but it is not currently planned for FX 8.
-- Kevin
Randahl Fink Isaksen wrote:
> 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.
>
> Thanks
>
> Randahl
More information about the openjfx-dev
mailing list