public static boolean selectHandleCursorForRectangularShape(Component c, byte i) {
		switch (i) {
		case AbstractRectangle.UPPER_LEFT:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.NW_RESIZE_CURSOR));
			return true;
		case AbstractRectangle.UPPER_RIGHT:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.NE_RESIZE_CURSOR));
			return true;
		case AbstractRectangle.LOWER_RIGHT:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.SE_RESIZE_CURSOR));
			return true;
		case AbstractRectangle.LOWER_LEFT:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.SW_RESIZE_CURSOR));
			return true;
		case AbstractRectangle.TOP:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.N_RESIZE_CURSOR));
			return true;
		case AbstractRectangle.RIGHT:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.E_RESIZE_CURSOR));
			return true;
		case AbstractRectangle.BOTTOM:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.S_RESIZE_CURSOR));
			return true;
		case AbstractRectangle.LEFT:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.W_RESIZE_CURSOR));
			return true;
		case AbstractRectangle.ARC_HANDLE:
			c.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
			return true;
		}
		return false;
	}