core javafx functionality