how can I listen to a change in the CalendarTextField in JFXtras? For example a new choosen date from the picker-menu or a typed-in date?
date.addEventFilter(MouseEvent.ANY, new EventHandler<Event>() {
@Override
public void handle(Event arg0) {
System.out.println("EVENT");
}
});
gives me every movement of the mouse within the field. I didn't find another eventType that makes sense.
I also thought about adding this event filter in the window and check the selected date at every click in the window. But that can't be the right way.