Undecorator – update


Back to Undecorator, with little code cleaning, bug fixing and comments added.
As mini feature, a direct access to fullscreen mode via a button in the window “title” bar:

Fullscreen button on title bar

Fullscreen button on title bar

The UndecoratorSceneDemo and UndecoratorStageDemo now includes an example for the UTILITY stage mode.

As a reminder the difference between those 2 demos are:

  • UndecoratorStageDemo: Use directly the Undecorator class as an helper to enhance your existing apps
  • UndecoratorSceneDemo: Use the UndecoratorScene class which replace your Scene, code is more simpler.

To see the Utility stage mode, just press the “Show Utility stage” button and…

Show utility stage button

Show utility stage button

An undecorated utility stage appears with its capabilities.

Utility window

Utility window

Try!

Executable jar file is still here:  macJar

and to access to the code, project and binaries it’s still there:github-logo-transparent

Still to investigate:

  • Behavior with Java8 (visual artifacts)
  • Menus are not displayed on fullscreen mode on MacOS: They are displayed “under” the main window.

Stay tuned ’till next update :)
Have a nice summerFX to you all.

A.

About these ads

  1. #1 by Jörn on 29/07/2013 - 08:20

    Hi!

    Regarding ….
    “Menus are not displayed on fullscreen mode on MacOS: They are displayed “under” the main window.”

    You have to use the following property: .setUseSystemMenuBar(true);

    • #2 by arnaud nouard on 29/07/2013 - 09:46

      Hi,
      In my case, it’s ContextMenu not MenuBar and AFAIK there’s no such property. I still don’t know why but I’m not able to display any ContextMenu on MacOS when in fullscreen…
      Thanks anyway.

  2. #3 by Jacek Jackowiak on 30/07/2013 - 19:18

    Nice :)
    I’ve tried this on Ubuntu 13.04, it works great, but when I try to minimize the window application hangs for ever.

    • #4 by arnaud nouard on 30/07/2013 - 21:59

      Really appreciate that it works on Unbuntu :)
      Could you tell me if you have the same behavior with the Ensemble JavaFX demo, here… ?
      Thanks a lot.

      • #5 by Jacek Jackowiak on 30/07/2013 - 23:20

        Hi, no Ensamble is working properly. I’ve checked Your application again. It can not only freeze but also kill whole X server, though I managed to get expected behaviour once, and can’t reproduce this now :/

  1. JavaFX links of the week, July 29 // JavaFX News, Demos and Insight // FX Experience
  2. Java desktop links of the week, July 29 « Jonathan Giles

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: