void dispatchEventImpl(AWTEvent e) {   if (e.id <= ComponentEvent.COMPONENT_LAST && e.id >= ComponentEvent.COMPONENT_FIRST && (componentListener != null || (eventMask & AWTEvent.COMPONENT_EVENT_MASK) != 0)) processEvent(e); else if (e.id <= KeyEvent.KEY_LAST && e.id >= KeyEvent.KEY_FIRST && (keyListener != null || (eventMask & AWTEvent.KEY_EVENT_MASK) != 0)) processEvent(e); else if ( e.id <= MouseEvent.MOUSE_LAST && e.id >= MouseEvent.MOUSE_FIRST && (mouseListener != null || mouseMotionListener != null || (eventMask & AWTEvent.MOUSE_EVENT_MASK) != 0)) processEvent(e); else if (e.id <= FocusEvent.FOCUS_LAST && e.id >= FocusEvent.FOCUS_FIRST && (focusListener != null || (eventMask & AWTEvent.FOCUS_EVENT_MASK) != 0)) processEvent(e); else if ( e.id <= InputMethodEvent.INPUT_METHOD_LAST && e.id >= InputMethodEvent.INPUT_METHOD_FIRST && (inputMethodListener != null || (eventMask & AWTEvent.INPUT_METHOD_EVENT_MASK) != 0)) processEvent(e); else if ( e.id <= HierarchyEvent.HIERARCHY_LAST && e.id >= HierarchyEvent.HIERARCHY_FIRST && (hierarchyListener != null || hierarchyBoundsListener != null || (eventMask & AWTEvent.HIERARCHY_EVENT_MASK) != 0)) processEvent(e); else if (e.id <= PaintEvent.PAINT_LAST && e.id >= PaintEvent.PAINT_FIRST && (eventMask & AWTEvent.PAINT_EVENT_MASK) != 0)
void dispatchEventImpl(AWTEvent e) { if (eventTypeEnabled (e.id))
	void dispatchEventImpl(AWTEvent e) {		//System.out.println("dispatchEventImpl(" + e + ") on "+ this + ", eventMask=" + eventMask);		// Make use of event id's in order to avoid multiple instanceof tests.		if (e.id <= ComponentEvent.COMPONENT_LAST && e.id >= ComponentEvent.COMPONENT_FIRST && (componentListener != null || (eventMask & AWTEvent.COMPONENT_EVENT_MASK) != 0))			processEvent(e);		else if (e.id <= KeyEvent.KEY_LAST && e.id >= KeyEvent.KEY_FIRST && (keyListener != null || (eventMask & AWTEvent.KEY_EVENT_MASK) != 0))			processEvent(e);		else if (			e.id <= MouseEvent.MOUSE_LAST				&& e.id >= MouseEvent.MOUSE_FIRST				&& (mouseListener != null || mouseMotionListener != null || (eventMask & AWTEvent.MOUSE_EVENT_MASK) != 0))			processEvent(e);		else if (e.id <= FocusEvent.FOCUS_LAST && e.id >= FocusEvent.FOCUS_FIRST && (focusListener != null || (eventMask & AWTEvent.FOCUS_EVENT_MASK) != 0))			processEvent(e);		else if (			e.id <= InputMethodEvent.INPUT_METHOD_LAST				&& e.id >= InputMethodEvent.INPUT_METHOD_FIRST				&& (inputMethodListener != null || (eventMask & AWTEvent.INPUT_METHOD_EVENT_MASK) != 0))			processEvent(e);		else if (			e.id <= HierarchyEvent.HIERARCHY_LAST				&& e.id >= HierarchyEvent.HIERARCHY_FIRST				&& (hierarchyListener != null || hierarchyBoundsListener != null || (eventMask & AWTEvent.HIERARCHY_EVENT_MASK) != 0))			processEvent(e);		else if (e.id <= PaintEvent.PAINT_LAST && e.id >= PaintEvent.PAINT_FIRST && (eventMask & AWTEvent.PAINT_EVENT_MASK) != 0)			processEvent(e);	}