with date delegate for javafx