private void buildScriptFilterComponents() {

		requiredUnicodeScript = new CharScriptComboBox();
		requiredUnicodeScript.setSelectedItem(CharacterScriptUtils.ANY_SCRIPT_ALIAS);
		requiredUnicodeScript.addItemListener(itemListener);
		requiredUnicodeScript.setToolTipText(
			"""
					<html>Require at least one character of this script (alphabet) to be present in the string.<p>
					<p>
					Use the <b>Allow Additional</b> toggle buttons (if currently not enabled) to<br>
					allow more strings to match.<p>
					<p>
					Note: character scripts that are drawable using the current font will have<br>
					some example characters displayed to the right of the name.""");
		requiredUnicodeScript.getAccessibleContext().setAccessibleName("Required Unicode Script");
		scriptFailedCountLabel = new GDHtmlLabel();
		scriptFailedCountLabel.setForeground(GThemeDefaults.Colors.Messages.ERROR);
		scriptFailedCountLabel
				.setToolTipText("Number of strings excluded due to failing script requirements.");
		scriptFailedCountLabel.getAccessibleContext().setAccessibleName("Script Failed Count");
		allowLatinScriptButton = new JToggleButton("A-Z");
		allowLatinScriptButton.setName("ALLOW_LATIN_SCRIPT");
		Gui.registerFont(allowLatinScriptButton, BUTTON_FONT_ID);

		allowLatinScriptButton.setToolTipText(
			"Allow Latin characters (e.g. A-Z, etc) to also be present in the string.");
		allowLatinScriptButton.setSelected(true);
		allowLatinScriptButton.addItemListener(this::checkboxItemListener);
		allowLatinScriptButton.getAccessibleContext().setAccessibleName("Allow Latin Script");

		latinScriptFailedCountLabel = new GDHtmlLabel();
		latinScriptFailedCountLabel.setForeground(GThemeDefaults.Colors.Messages.ERROR);
		latinScriptFailedCountLabel.setToolTipText(
			"Number of strings excluded because they contained Latin characters.");
		latinScriptFailedCountLabel.getAccessibleContext()
				.setAccessibleName("Latin Script Failed Count");
		allowCommonScriptButton = new JToggleButton("0-9,!?");
		allowCommonScriptButton.setName("ALLOW_COMMON_SCRIPT");
		Gui.registerFont(allowCommonScriptButton, BUTTON_FONT_ID);
		allowCommonScriptButton.setToolTipText(
			"Allow common characters (e.g. 0-9, space, punctuation, etc) to also be present in the string.");
		allowCommonScriptButton.setSelected(true);
		allowCommonScriptButton.addItemListener(this::checkboxItemListener);
		allowCommonScriptButton.getAccessibleContext().setAccessibleName("Allow Common Script");
		commonScriptFailedCountLabel = new GDHtmlLabel();
		commonScriptFailedCountLabel.setForeground(GThemeDefaults.Colors.Messages.ERROR);
		commonScriptFailedCountLabel.setToolTipText(
			"Number of strings excluded because they contained Common (0-9, space, punctuation, etc) characters.");
		commonScriptFailedCountLabel.getAccessibleContext()
				.setAccessibleName("Common Script Failed Count");
		allowAnyScriptButton = new JToggleButton("Any");
		allowAnyScriptButton.setName("ALLOW_ANY_SCRIPT");
		Gui.registerFont(allowAnyScriptButton, BUTTON_FONT_ID);
		allowAnyScriptButton.setToolTipText(
			"Allow all other character scripts to also be present in the string.");
		allowAnyScriptButton.setSelected(true);
		allowAnyScriptButton.addItemListener(this::checkboxItemListener);
		allowAnyScriptButton.getAccessibleContext().setAccessibleName("Allow Any Script");
		otherScriptsFailedCountLabel = new GDHtmlLabel();
		otherScriptsFailedCountLabel.setForeground(GThemeDefaults.Colors.Messages.ERROR);
		otherScriptsFailedCountLabel.setToolTipText(
			"Number of strings excluded because they contained characters from other scripts (alphabets).");
		otherScriptsFailedCountLabel.getAccessibleContext()
				.setAccessibleName("Other Scripts Failed Count");
	}
For test/screen shot use

@return button
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/strings/EncodedStringsDialog.java