Can ESC to exit full screen be avoided?

Randahl Fink Isaksen randahl at rockit.dk
Fri Nov 2 21:44:37 PDT 2012


Ah yes, I see – and it is even the 14th most voted for issue.

I too would very much like to see this implemented.

R.


On Nov 3, 2012, at 5:28 , Kevin Rushforth <kevin.rushforth at oracle.com> wrote:

> 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