Set the Event listener on the event queue.
This method is made package-private so only classes from
com.sun.mmedia (BasicPlayer) can access it for security
reasons.
// This can only be set once.
if (listener != null)
return;
listener = l;
EventQueue evtq = EventQueue.getEventQueue(classSecurityToken);
evtq.registerEventListener(EventTypes.MMAPI_EVENT, listener);