table to table transition in JavaFX

Posted by Steven

Recently and with the help of my coworker Scavenger156, I implemented a nice animation to show interactions between two tables in JavaFX. In our application it is possible to give special permissions to users. Hence, there is a set of users who have these permissions and there is a set of users who don't. A user can just be in one of these sets. To make assigning user to these sets easy and intuitive, we came up with the following component:

The user clearly sees the item moving between the two tables with the help of a snapshoot. This way, it is clear why the item disappears in the original table. No further explanation of the rules stated above should be necessary.

The complete code can be found as a SSCCE at github.



After spending more time than I'd like to admit trying to programmatically fill a table with frustrating result I was able to find where I went wrong thanks to your code. I didn't have any use for the animation, but it is still impressive none the less.

Thanks, John! :)