Undecorator for Java 8


Little update to make Undecorator running on Java 8.

Lesson learnt: Panes are now opaque (Modena?).

Jar is here and works for both Java7 and Java8. Sources have been updated on GitHub.

Have fun!



  1. #1 by shashaanktulsyan on 13/04/2015 - 12:37

    Why is undecorator so slow. It looks great. Really got tempted to use it.
    But it is so slow
    1) Resize
    2) Time taken for it to show up the first time is also noticeable, which makes the startup time slower by visibly 3-4seconds
    3) Fullscreen is the slowest of all.

    How can this be fixed? I am using java 8 u40, 4GB ram, SSD, 1.8GHz intel core 2 duo,
    intel 965 express on board graphics card. Looking at my hardware I can’t understand how can it be so noticeably slow.

    It seems javafx in general is slow at start and only picks up speed after the jvm does some optimization after some time.

    • #2 by arnaud nouard on 13/04/2015 - 21:26

      Unfortunately, I don’t experience the same behavior. Do you get same result with the JavaFX Ensemble sample?
      Undecorator doesn’t impact the performance of any UNDECORATED window, so it’s must be related to the rendering pipeline (openGL, software…). on your side could you launch the app with JavaFX verbose mode to validate this?

      • #3 by shashaanktulsyan on 14/04/2015 - 04:56

        You are right. Although javafx ensemble seems to run fine, a few things are not smooth. Like the scene builder seems to have some noticeably jerky animation. Like the accordion which contains all Properties/Layout/Code related controls, has some jerky motion and seem to become smooth only after warming up.

        But as for the app which wrapped around undecorator, it is very slow. It is way more noticeably slow compared to accordion.

        Has it got to do with transparency ?

        java -Djavafx.verbose=true -jar eNTranslator.jar
        Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\prism_d3d.dll from re
        lative path
        Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\prism_sw.dll from rel
        ative path
        JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
        Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\msvcr100.dll from rel
        ative path
        Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\glass.dll from relati
        ve path
        Calling main(String[]) method
        Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\javafx_font.dll from
        relative path
        Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\decora_sse.dll from r
        elative path
        Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\prism_common.dll from
        relative path

  2. #4 by shashaanktulsyan on 27/04/2015 - 06:42

    I found the problem. It seems javafx is not able to utilize hardware acceleration.

    this seems to be a problem of old laptops working on integrated intel graphics. I tried the solution in the post and it didn’t help me (yet). Let me see.

    So I should take my word back. Undecorator itself is great. There is some problem here. And some problem in javafx itself that it has not been able to support older hardware out of the box.

  3. #6 by thangtea on 15/05/2016 - 09:58

    though its a great work.. but i face a problem dont know why,, close , maxi and minimize button goes into the center of my screen… if you read my message please dont ignore it… letme know

    • #7 by arnaud nouard on 15/05/2016 - 22:17

      Hi and thanks for the feedback.
      On what OS are you running on?
      Which jvm version?

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

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: