javafx try