Determine if an event was consumed in JavaFX
问题 I'm trying to do some off-piste stuff with event handling in JavaFX. I need to be able to determine if an event was consumed after I manually fire it. In the following example a synthetic mouse event is correctly received, however calling consume() does not update the event. I've debugged this and found JavaFX actually creates a new event instance so the original is unchanged public class EventManipulation extends Application { public static void main(String[] args) { launch(args); }