revert to javafx 2 dependency