@Override
	protected void dialogShown() {
		String text = nameField.getText();

		int endIndex = text.length();
		int dotIndex = text.lastIndexOf('.');
		if (dotIndex != -1) {
			endIndex = dotIndex; // exclusive
		}

		nameField.requestFocusInWindow();
		nameField.select(0, endIndex);
		super.dialogShown();
	}
Only called directly from testing!

@param parent parent component
@param title dialog title
@param componentProvider the provider
@param scriptDirs list of directories to give as options when saving
@param scriptFile the default save location
@param scriptProvider the {@link GhidraScriptProvider}
@param help contextual help, e.g. for rename or save
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/SaveDialog.java