Adding javafx structure