protected void processKeyEvent(NativeKeyEvent e) {
		int id = e.getID();
		EventListener[] listeners = eventListeners.getListeners(NativeKeyListener.class);

		for (int i = 0; i < listeners.length; i++) {
			switch (id) {
				case NativeKeyEvent.NATIVE_KEY_PRESSED:
					((NativeKeyListener) listeners[i]).nativeKeyPressed(e);
					break;

				case NativeKeyEvent.NATIVE_KEY_TYPED:
					((NativeKeyListener) listeners[i]).nativeKeyTyped(e);
					break;

				case NativeKeyEvent.NATIVE_KEY_RELEASED:
					((NativeKeyListener) listeners[i]).nativeKeyReleased(e);
					break;
			}
		}
	}