Drag N Drop...
posted 13 years ago
I am trying to implement drag and drop for images using JLables (icons of JLabels). It is working fine for images only, but now I would like to transfer the text (label text) as well as the image; how can I achieve this? How do I write the my TransferHandler's createTransferable(JComponent comp) method so that it handles image as well as text.