I am looking for a solution to add node's with fade-in or flipping or any animation. Thanks for any help.
I found the same question but without any further help here: Animated component adding-delete in a VBox
I am looking for a solution to add node's with fade-in or flipping or any animation. Thanks for any help.
I found the same question but without any further help here: Animated component adding-delete in a VBox
You can use the built-in Transitions or a 3rd party library such as FXExperience Canned Animations.
For an example of integrating an animation with a standard layout pane see this LayoutAnimator code used in the example solution to: Animation upon layout changes. The LayoutAnimator is very generic and will work with other Panes than the FlowPane sample it is provided with (it just looks a bit cooler with the FlowPane).
As jewelsea already mentioned, you would use Transitions. Here is an example of how to do it for your use case :
Or a more gerneral implementation using Java8 :
You can find a full example on https://gist.github.com/bugabinga/9576634