RFR: 8324658: Allow animation play/start/stop/pause methods to be called on any thread

Nir Lisker nlisker at openjdk.org
Sat Jan 27 00:09:46 UTC 2024


Added a utility method to run code on the FX thread if it's not already, and changed the animation methods to use it.

-------------

Commit messages:
 - Remove whitespace
 - Remove whitespace
 - Run methods on the FX thread

Changes: https://git.openjdk.org/jfx/pull/1352/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1352&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8324658
  Stats: 65 lines in 4 files changed: 34 ins; 19 del; 12 mod
  Patch: https://git.openjdk.org/jfx/pull/1352.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1352/head:pull/1352

PR: https://git.openjdk.org/jfx/pull/1352


More information about the openjfx-dev mailing list