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.
This entry was posted on 15/06/2014, 22:24 and is filed under JavaFX, Undecorator. You can follow any responses to this entry through RSS 2.0.
You can leave a response, or trackback from your own site.
#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
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
Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\prism_sw.dll from rel
JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\msvcr100.dll from rel
Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\glass.dll from relati
Calling main(String) method
Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\javafx_font.dll from
Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\decora_sse.dll from r
Loaded C:\Program Files\Java\jre1.8.0_40\lib\ext\..\..\bin\prism_common.dll from
#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.
#5 by arnaud nouard on 27/04/2015 - 07:16
Good to know, thanks for the comment.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Create a free website or blog at WordPress.com.
The Fusion Theme.
Get every new post delivered to your Inbox.
Join 116 other followers