Format code
Swapping two panes using JavaFX