The JavaFX Transition API lets you quickly create animation sequences based on object properties. The following shows how to animate an object's pisition using the TranslateTransition class. The following code updates the object's translateX and translateY properties:
When the code execute, you will see the circle being moved from one corner to another.
Click here to see animation.