void mouseReleased(MouseEvent e) {
			scrollTimer.stop();
			if (e.getButton() != MouseEvent.BUTTON1) {
				return;
			}

			cursorHandler.setCursorPos(e.getX(), e.getY(), EventTrigger.GUI_ACTION);
			if (didDrag) {
				// Send an event after the drag is finished.  Event are suppressed while dragging,
				// meaning that the above call to setCursorPos() will not have fired an event
				// because the internal cursor position did not change during the mouse release.
				cursorHandler.notifyCursorChanged(EventTrigger.GUI_ACTION);
			}
			else if (!selectionHandler.isInProgress()) {
				selectionHandler.clearSelection();
			}
			selectionHandler.endSelectionSequence();
		}
Notifies all listeners that the selection changed.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java