@Override
	protected void dialogShown() {
		Swing.runLater(() -> editor.requestFocus());
	}
A dialog that prompts the user to select a script.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/ScriptSelectionDialog.java