private Set<UnicodeScript> getRequiredScripts() {
		Set<UnicodeScript> scripts = EnumSet.noneOf(UnicodeScript.class);
		UnicodeScript selectedUnicodeScript =
			(UnicodeScript) requiredUnicodeScript.getSelectedItem();
		if (selectedUnicodeScript != null &&
			selectedUnicodeScript != CharacterScriptUtils.ANY_SCRIPT_ALIAS) {
			scripts.add(selectedUnicodeScript);
		}
		return scripts;
	}
For test/screen shot use

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