return;
}
event.acceptDrop(DnDConstants.ACTION_MOVE);
FileArray f =
(FileArray)t.getTransferData(TransferableFile.FILE_FLAVOR);
TreePath selected
= (getSelectionPath().equals(originalPath)) ? lastPath : getSelectionPath();
lastPath = null;
if (selected == null) {
event.rejectDrop();
cleanUp();
return;
}
Object o = selected.getLastPathComponent();
if (o instanceof File) {
File dir = (File)o;
File files[] = Dialogs.showMoveDialog(parent, f.getFiles(),
dir);
if (files == null) {
event.dropComplete(false);
cleanUp();