This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
JList userMessageList = new JList(...); Jlist userFolderList = new JList(...) userMessageList.setTransferHandler(...); // pass a handler for the drag-out userFolderList.setTransferHandler(...); // pass a handler for the drop-into
except you have to actually write the TransferHandlers. There are other ways to do it (DragGesture/DropTarget) but TransferHandlers should be easier to use.
Do take a look at the three notes I included in the other thread. They might be helpful.