public int[] calculateDragDistance() {
		int[] distances = new int[2];
		int startX = clickX;
		int startY = clickY;
		int currentX = mouseX;
		int currentY = mouseY;
		if (startX < currentX) {
			distances[0] = +(currentX - startX);
		}
		if (startX > currentX) {
			distances[0] = -(startX - currentX);
		}
		if (startY < currentY) {
			distances[1] = +(currentY - startY);
		}
		if (startY > currentY) {
			distances[1] = -(startY - currentY);
		}
		return distances;
	}