public void requestTableEditorFocus() {
		TableCellEditor currentEditor = getCellEditor();
		Component editorComponent = getEditorComponent();
		if (editorComponent == null) {
			return; // not editing
		}

		if (currentEditor instanceof FocusableEditor focusable) {
			focusable.focusEditor();
		}
		else {
			editorComponent.requestFocusInWindow();
		}

		if (editorComponent instanceof JTextComponent textComponent) {
			textComponent.selectAll();
		}
	}
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