I have a parent component with some draggable elements. When I start to drag an element, I don't want it to show any image underneath the cursor until it is outside from that parent component. So, I tried two approaches:
1. Redefining DragAndDropTarget::shouldDrawDragImageWhenOver() to return false. The momment I start the drag operation, the image is shown while I do the first move, then it rapidly dissapears (buggy behaviour?). Can this be fixed? Have you any ideas?
2. Using differents calls to DragAndDropContainer::startDragging() with different images. But once you start with the dragging operation it creates a Component (dragImageComponent) that cannot be deleted until the drag operation ends. Then the different calls to startDragging() haven't any effect. Is there a way to delete manually this Component?