boolean handleMouseMoved(int x, int y) {
		if (selectedComponent instanceof LineComponent) {
			if (((LineComponent) selectedComponent).nearEndPoint(x, y) > 0) {
				setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
				return true;
			}
		} else if (selectedComponent instanceof RectangleComponent) {
			if (Draw.selectHandleCursorForRectangularShape(this, ((RectangleComponent) selectedComponent).nearHandle(x, y)))
				return true;
		} else if (selectedComponent instanceof EllipseComponent) {
			if (Draw.selectHandleCursorForRectangularShape(this, ((EllipseComponent) selectedComponent).nearHandle(x, y)))
				return true;
		} else if (selectedComponent instanceof TriangleComponent) {
			if (((TriangleComponent) selectedComponent).nearHandle(x, y) != -1) {
				setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
				return true;
			}
		}
		setCursor(UserAction.getCursor(actionID));
		return false;
	}