private void dragged(int x, int y) {
		int deltaX = x - anchorX;
		int deltaY = y - anchorY;
		anchorX = x;
		anchorY = y;

		switch (state) {
			case NEAR_EDGE:
				resize(deltaX);
				break;
			case OVER_FIELD:
				moving.moveFloating(deltaX, deltaY);
				repaint();
				break;
			default:
		}
	}
Sets the cursor shape that appropriate for the given location.  If the location
is near a boundary, then the cursor will change to a RESIZE shape, otherwise
it will be the default cursor.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/format/FieldHeaderComp.java