Configured dron for use spring with JavaFX