Hi Erik,

Not a full solution by any means - but in terms of the mouse pointer being
shown, you could just set a blank cursor using setCursor(Cursor.NONE) on
Scene.

Thanks,

Michael


On 31 March 2014 11:54, Anthony Petrov <anthony.pet...@oracle.com> wrote:

> Hi Erik,
>
> What you're asking for is kind of "exclusive full screen mode" (as it's
> known in AWT/Swing). And no, JavaFX does not support this currently. Please
> file a new issue in JIRA at https://javafx-jira.kenai.com/
>
> PS. Regarding your current code: you don't really need to call
> setResizable, setIconified, toFront, or centerOnScreen() because these
> calls are useless for a full screen window.
>
> --
> best regards,
> Anthony
>
>
> On 3/29/2014 4:06 PM, Erik Colson wrote:
>
>> On March 29, 2014 12:43:18 PM CET, "cogmission1 ." <
>> cognitionmiss...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Just as a clarification, it sounds like what you're asking for is kind
>>> of
>>> like a "Kiosk" mode?
>>>
>>>
>>> On Sat, Mar 29, 2014 at 4:08 AM, Erik Colson <e...@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
>>>>
>>>>
>> Yep. That's it!
>> --
>> erik colson
>>
>>

Reply via email to