toIndex = dropLocation.getRow();
shouldRemove = dropTable == sourceTable ? true : false;
if (shouldRemove) {
tableModel.moveRow(fromIndex, (toIndex>fromIndex)? --toIndex : toIndex);
} else {
tableModel.addRow(toIndex, dropItem);
}
sourceTable.getSelectionModel().setSelectionInterval(toIndex, toIndex);
return true;
} catch (IOException e) { System.out.println("MasterItemTransferHandler.java: " + e);
} catch (UnsupportedFlavorException e) { System.out.println("MasterItemTransferHandler.java: " + e);