converted lighthouse to javafx