{ Event oldStyleEvent;    oldStyleEvent = Component.translateEvent(event); if (oldStyleEvent != null)
void dispatchEventImpl(AWTEvent event){  Event oldStyleEvent;  // This is overridden by subclasses that support events.  /* Convert AWT 1.1 event to AWT 1.0 event */  oldStyleEvent = Component.translateEvent(event);  if (oldStyleEvent != null)    {      postEvent(oldStyleEvent);    }  /* Do local processing */  processEvent(event);}