@Override
	public void mouseReleased(MouseEvent e) {
		if (!consuming) {
			return;
		}

		// continue to consume the event that was started during the pressed event, for symmetry
		maybeConsumeEvent(e);
		consuming = false;

		if (!didDrag) {
			//
			// If we dragged, leave the initial selection, which does not disrupt the user's
			// workflow; otherwise, select the clicked row.   This allows users to change the
			// selection by clicking in the table, which is the default table behavior.
			//
			table.clearSelection();
			int row = table.rowAtPoint(e.getPoint());
			table.selectRow(row);
		}
	}
A listener for tables that support drag and drop operations.  This listener allows the user to
make a multi-selection in the table and drag that selection.
Ghidra/Framework/Docking/src/main/java/docking/dnd/DragDropTableSelectionMouseListener.java