public boolean checkIfSelectedHandles(int qx, int qy) {
		if (selectedShape == null)
			return false;
		if (shapeManager.testInSquare((Square)upperLeft, qx, qy))
			whichHandleSelected = 1;
		else if (shapeManager.testInSquare((Square)upperRight, qx, qy))
			whichHandleSelected = 2;
		else if(shapeManager.testInSquare((Square)bottomLeft, qx, qy))
			whichHandleSelected = 3;
		else if(shapeManager.testInSquare((Square)bottomRight, qx, qy))
			whichHandleSelected = 4;
		else
			whichHandleSelected = 0;
		if (whichHandleSelected == 0)
			return false;
		return true;
	}