boolean (TransferHandler.TransferSupport support) { boolean canImport = support.getComponent() == myTable && support.isDrop(); myTable.setCursor(canImport ? DragSource.DefaultMoveDrop : DragSource.DefaultMoveNoDrop); return canImport; }