public void scrollToSelectedRow() {
		int[] selectedRows = getSelectedRows();
		if (selectedRows == null || selectedRows.length == 0) {
			return;
		}

		// just make sure that the first row is visible
		int row = selectedRows[0];

		// update the cell rectangle to be the entire row so that if the user is horizontally
		// scrolled, then we do not change that
		Rectangle visibleRect = getVisibleRect();
		Rectangle cellRect = getCellRect(row, 0, true);
		cellRect.x = visibleRect.x;
		cellRect.width = visibleRect.width;

		scrollRectToVisible(cellRect);
	}
If you just begin typing into an editable cell in a JTable, then the cell editor will be
displayed. However, the editor component will not have a focus. This method has been
overridden to request focus on the editor component.

@see javax.swing.JTable#editCellAt(int, int, EventObject)
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTable.java