The JavaFX Transition API lets you quickly create animation sequences based on object properties. Each Transition class (see others) only animates one object at a time. To be able to create compound animation sequences involving several subjects, you must use ParallelTransition class. This class facilitates the creation of animation sequences composed of other transition classes. The code shown below uses one RotationTransition and two TranslationTransition to create animate two objects in paramellel:.
When the code execute, you will see the circles rotate about the center of their junction.
Click here to see animation.