Thanks.
I've tried to find more confirmation that SetEventHandler will, in fact, do what I'm looking for. After quite a few Google searches all I found was the Java documentation.
http://docs.oracle.com/javase/8/jav...fx.event.EventType-javafx.event.EventHandler-
addEventHandler
Registers an event handler to this node. The handler is called when the node receives an Event of the specified type during the bubbling phase of event delivery.
setEventHandler
Sets the handler to use for this event type. There can only be one such handler specified at a time. This handler is guaranteed to be called first. This is used for registering the user-defined onFoo event handlers.
Documentation for other Java related environments does confirm, for those environments, that "Set" version will completely take over handling the event.
I know of no way to find out if this will work other than to test it.
I am surprised SetEventHandler is not exposed in jReflection. Have you tried using the "Set" version of this function?
I believe agraham makes the comment that JavaObject can accomplish similar things.
Is it possible to do this with JavaObject?
Barry.