javafx conversion compilable