Name that Property ! javafx.Stage.fullScreenWarning=false

Randahl Fink Isaksen randahl at rockit.dk
Thu May 16 11:06:33 PDT 2013


Have you considered the fact that when using a boolean you implicitly claim that there will never be more than two modes?

I for one, would recommend defining an enumeration that encapsulates the different modes, e.g.

public enum FullScreenMode {
    ESCAPABLE_WITH_INFO,
    ESCAPABLE_WITHOUT_INFO,
    INESCAPABLE
}

Corresponding to -Djavafx.Stage.fullScreenMode=ESCAPABLE_WITH_INFO.

– This allows defining other modes if that proves necessary down the road.

Yours

Randahl



On May 16, 2013, at 19:33 , David Hill <David.Hill at Oracle.com> wrote:

> 
> I am working on the much requested (RT-15314) Allow trusted apps to disable the fullscreen overlay warning and disable the "Exit on ESC" behavior.
> 
> Now we get to play, "Name That Property"!
> This is a property that will disable the "ESC to exit fullscreen..." warning overly. This overlay does not make sense in a Kiosk style application.
> 
> I am proposing:
>    -Djavafx.Stage.fullScreenWarning=false
> to disable the overlay.
> 
> I am sure that there will be other ideas. :-)
> 
> -- 
> David Hill <David.Hill at Oracle.com>
> Java Embedded Development
> 
> "The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents."
> -- Nathaniel Borenstein (1957 - )
> 



More information about the openjfx-dev mailing list