private boolean isDropRow( int row ) {
		JTree.DropLocation dropLocation = tree.getDropLocation();
		return dropLocation != null &&
			dropLocation.getChildIndex() == -1 &&
			tree.getRowForPath( dropLocation.getPath() ) == row;
	}
Checks whether dropping on a row.
See DefaultTreeCellRenderer.getTreeCellRendererComponent().
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTreeUI.java