<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">Recently I was investigating how to improve the user experience of our JavaFX applications.</div><div dir="ltr">I noticed that JavaFX applications seem to be limited to 60fps by default, </div><div dir="ltr">which makes JavaFX applications appear to animate less smoothly than many other applications</div><div dir="ltr">when users are using high refresh rate monitors.</div><div dir="ltr">In particular, we used a self-drawn title bar, which caused users to drag our app more slowly than dragging other applications.</div><div dir="ltr"><br></div><div dir="ltr">I learned that there is an undocumented property `javafx.animation.fullspeed` </div><div dir="ltr">and that setting it to true would significantly improve the user experience of our application.</div><div dir="ltr">While it works fine on my computer, it seems to have a lot of potential problems,</div><div dir="ltr">such as conflicts with vsync, may have significantly higher CPU/GPU utilization, and has been less tested,</div><div dir="ltr">so I dare not push it to users.</div><div dir="ltr">There is also a property `javafx.animation.framerate` which seems to be safer, but it didn't work for me.</div><div dir="ltr"><br></div><div dir="ltr">So, what is the best way to get a high frame rate for a JavaFX application?</div><div dir="ltr">Can we get more than 60fps in a JavaFX application with vsync enabled?</div><div dir="ltr">Is it possible to make JavaFX applications adapt to the monitor's refresh rate without us setting it to a fixed value?</div><div dir="ltr"><br></div><div>Glavo</div><div dir="ltr"><br></div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>