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!

Animated GIFs

Hank P.Dec 7 2012 — edited Apr 21 2013
Hello,

I'm using three different GIFs to show the progress of my program.
The first is an preloading gif, the second one is visible till process finished, and the last one to restore the first state.

The GIFs are loaded into an ImageView, the delay for the next image is controlled by a timeline.

My Problem is that the GIF is not always playing at the same speed. Sometimes the gif plays faster and so there is an gap to the next animated GIF.

Any ideas why this is happening?
Should i use another Component to load the GIF or is there a possibility to control how fast the animation is playing?


Thanks in advance!
This post has been answered by jsmith on Apr 21 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2013
Added on Dec 7 2012
7 comments
575 views