I've been messing with Swing and Drag and Drop functionalities for an application and learned a lot in a few weeks. I've managed to create color tiles that work with drag and drop; dragging the color from the color tile and dropping in another component that get's drawn with the chosen color. I wanted to display the components (lets call them drawings) in a list, and said list should support drag and drop. I've managed to drag the drawings from one list to another, and to add or remove more drawings with drag and drop.
But when I try to drag a color to a drawing inside a list, it doesn't work, the list is catching the drag instead of the drawing. Is there a way to transfer the drag to the drawing?
Note that some drawings use gradients, thus there is need to know where, in the drawing, the color was dropped. Also, the drag and drop of the drawings works just fine if they are outside the list.