public static void fireEvent (EventTarget eventTarget, Event event)

Fires the specified event. The given event target specifies the path through which the event will travel.

Parameters:
eventTarget    the target for the event
event    the event to fire

Exceptions:
NullPointerException    if eventTarget or event is null