[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: macosx fullscreen and window manager
From:       Stephen F Northover <steve.x.northover () oracle ! com>
Date:       2014-03-31 15:09:55
Message-ID: 53398543.1000303 () oracle ! com
[Download RAW message or body]

It doesn't hurt to enter a JIRA for this.  Even if we don't get to it 
ourselves, any sort of solution that you might come up with (even Mac 
only) can be tracked there.

Steve

On 2014-03-31 11:03 AM, Jasper Potts wrote:
> Hot corners and screen saver could just be turned off in system preferences. Then \
> the cursor set to empty. If you need dynamic then you might be able to use \
> something like JNA or JNIWrapper to make native call need to disable those things. 
> Jasper
> 
> > On Mar 29, 2014, at 2:08 AM, Erik Colson <eco@ecocode.net> wrote:
> > 
> > Hi,
> > 
> > Is it possible to use JavaFX for developping a fullscreen macosx
> > application that skips the window manager ? I have currently an app that
> > does fullscreen but :
> > - the 'hot corners' still work, letting the user switch to another app
> > - the screensaver is still working
> > - the mouse pointer is still shown
> > 
> > The app is ment to become something like a Slideshow. Therefor those 3
> > points need to be solved.
> > 
> > This is what I have for now:
> > 
> > Screen screen = Screen.getPrimary();
> > primaryStage.initStyle(StageStyle.UNDECORATED);
> > primaryStage.setResizable(false);
> > primaryStage.setIconified(false);
> > primaryStage.setFullScreenExitHint("");
> > primaryStage.setFullScreen(true);
> > primaryStage.setScene(scene);
> > primaryStage.toFront(); // not really needed I think
> > primaryStage.centerOnScreen();
> > primaryStage.show();
> > 
> > thanks !
> > -- 
> > erik colson


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic