public void setProgram(Program program) {
		if (program == currentProgram) {
			return;
		}
		if (currentProgram != null) {
			currentProgram.removeListener(this);
		}

		currentProgram = program;

		if (currentProgram != null) {
			currentProgram.addListener(this);
		}

		if (isVisible()) {
			stringModel.setProgram(program);
			stringModel.reload();
		}
		if (isTransient()) {
			updateSubTitle();
		}
	}
Sets the given row as a selection in the table.  Note, this method assumes that the given
row was obtained by getting the selected row from the table and not somehow
obtained from the model.

@param row the row in the table to select
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/StringTableProvider.java