The `Animation` class states in the documentation of various methods that the method call would be asynchronous, using language similar to:
{@code stop()} is an asynchronous call, the {@code Animation} may not stop immediately.
This is factually wrong, there are no asynchronous calls. In fact, the methods in question can only be called on the JavaFX Application thread.
{@code stop()} is an asynchronous call, the {@code Animation} may not stop immediately.
This is factually wrong, there are no asynchronous calls. In fact, the methods in question can only be called on the JavaFX Application thread.
- relates to
-
JDK-8159048 Animation and AnimationTimer methods must be called on JavaFX Application thread
- Closed
-
JDK-8324658 Allow animation play/start/stop/pause methods to be called on any thread
- Resolved
- links to
-
Review openjdk/jfx/1342