I'm trying to implement D&D so that I am able to drag items from a JList. The JList contains either text or images, and I want the image to appear in the cell. My problems are:
When I try to drag a text element, and drop it, a white square appears. If I double click on the cell, I can see the text element.
When I try to drag an image element, I can't. It won't even let me. It comes from the same list as my text elements, so I don't understand why I can drag items in the list that only have text, but not ones that only have an image.
Here is my TransferHandler....
Joined: Mar 07, 2004
Is any other information needed to help answer this question, I'm really stumped.