Timelines with a repeatCount of INDEFINITE do not correctly pick up a new time value, whether they are running or stopped. The attached test case demonstrates this: type a number of milliseconds into the text field and hit enter. The Timeline should jump to that point in time, but it doesn't because of the INDEFINITE repeat count.
In may cases, a workaround is to use a very high repeatCount, such as Integer.MAX_VALUE.
In may cases, a workaround is to use a very high repeatCount, such as Integer.MAX_VALUE.
- relates to
-
JDK-8105730 Not possible to set play-head position in Timeline
- Closed
-
JDK-8108279 New/stop()ed Timelines always play() from time 0.
- Closed
-
JDK-8106014 Timeline.time is not taken into account when Timeline.repeatCount is set to Timeline.INDEFINITE
- Closed