Drag « JList « Java Swing Q&A





1. Draggable Jlist    coderanch.com

2. Drag from a JList to the desktop    coderanch.com

Hi. I am trying to implement a DnD action in which the user selects an item on a JList, drags it to the desktop, and drops - this would create a file with some contents. I couldn't find anything on how to go about it. Could you give me some hints? I managed to implement DnD to the list from the ...