Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to cap animation framerate?

Markus KARGOct 19 2015 — edited Oct 20 2015

To reduce power consumption of my target device, I want to explicitly cap the animation framerate to 25 fps.

Therefore I have set -Djavafx.animation.framerate=25 and I am now getting getTargetFramerate = 25.0.

The strange thing is, the animation still renders fluently, which proofs that the rate of actually rendered frames still is 60.

What am I doing wrong? How to REALLY cap animation framerate?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2015
Added on Oct 19 2015
3 comments
719 views