XBLEventSupport support = (XBLEventSupport) node.getEventSupport();
// check if the event support has been instantiated
if (support == null) {
return;
}
EventListenerList list =
support.getImplementationEventListeners(type, useCapture);
// check if the event listeners list is not empty
if (list == null) {
return;
}
// dump event listeners, we get the registered listeners NOW
EventListenerList.Entry[] listeners = list.getEventListeners();
fireEventListeners(node, e, listeners, null, null);
}