}
else if(info.getComponent() instanceof JVisualSelectionList){
if(info.isDataFlavorSupported(DnDSupportUtility.VISUAL_LIST_FLAVOR)){
if(info.getSourceDropActions()==MOVE){
try{
TransferableData transferredData = (TransferableData)info.getTransferable().getTransferData(DnDSupportUtility.VISUAL_LIST_FLAVOR);
JList.DropLocation dropLocation = (JList.DropLocation)info.getDropLocation();
int index = dropLocation.getIndex();
if(transferredData!=null){
int[] indices = transferredData.getIndexesList();
//prevent dropping over itself
retVal = !(indices != null && index >= indices[0] && index <= indices[indices.length -1]+1);
}
}catch (UnsupportedFlavorException e) {
retVal = false;