private void tryToSelectMatch(ListSelectionModel selectionModel) {
			// In this state we are tracking the value that was selected and we want to
			// reselect that value.
			int matchRow = matchesTableModel.getRowIndex(match);
			if (matchRow >= 0 && matchRow < matchesTableModel.getRowCount()) {
				selectionModel.setSelectionInterval(matchRow, matchRow);
				matchesTable.scrollToSelectedRow();
			}
		}
A class meant to override the default table selection behavior <b>in special
situations</b>.
<p>
<u>Issue 1:</u> Accepting or applying a match can trigger the match to be
filtered out of the table. The default SelectionManager does not restore the
selection for that item, as it knows that the item is gone.
<p>
<u>Issue 2:</u> Accepting or applying a match can trigger the match to be
moved due to a sort operation after the edit.
<p>
<u>Desired Behavior:</u> Have the selection restored to the previous
location, even if the item is moved or removed.
<p>
Creating this object will cancel the default behavior. Calling
{@code restoreSelection} will set the new selection, depending upon the
conditions described above.
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/provider/matchtable/VTMatchTableProvider.java