private int getSelectedRow() {
		AtomicInteger ref = new AtomicInteger(-1);
		runSwing(() -> {
			ref.set(table.getSelectedRow());
		});
		return ref.get();
	}
Make sure that either the two given rows are an exact match, or that the row objects that
represent each row are equal()
Ghidra/Features/Base/src/test.slow/java/docking/widgets/table/SelectionManagerTest.java