In this code, the JList is updated by overriding the drop(DropTargetDropEvent evt) method. Currently I am overriding the importData(JComponent comp, Transferable t) method in the TransferHandler class to update the JList. Both methods are called when the mouse button is released.
My question is, when the files are dragged from the JList to the desktop, what overridable method is called when the mouse button is released? I want to use FileUtils.copyFileToDirectory() to copy the files because I need to do something (for example changing the destination file names) during the copy operation.