protected void fireMouseListeners(MouseEvent e) {
		switch (e.getID()) {
		  case MouseEvent.MOUSE_PRESSED:
			if (mouseListener != null) mouseListener.mousePressed(e);
			break;
		  case MouseEvent.MOUSE_RELEASED:
			if (mouseListener != null) mouseListener.mouseReleased(e);
			break;
		  case MouseEvent.MOUSE_CLICKED:
			if (mouseListener != null) mouseListener.mouseClicked(e);
			break;
		  case MouseEvent.MOUSE_EXITED:
			if (mouseListener != null) mouseListener.mouseExited(e);
			break;
		  case MouseEvent.MOUSE_ENTERED:
			if (mouseListener != null) mouseListener.mouseEntered(e);
			break;
		  case MouseEvent.MOUSE_MOVED:
			if (mouseMotionListener != null) mouseMotionListener.mouseMoved(e);
			break;
		  case MouseEvent.MOUSE_DRAGGED:
			if (mouseMotionListener != null) mouseMotionListener.mouseDragged(e);
			break;
		}
	}