private void updateRequiredScriptsList(EncodedStringsFilterStats stats) {
		requiredUnicodeScript.removeItemListener(itemListener);

		UnicodeScript currentSelectedScript =
			(UnicodeScript) requiredUnicodeScript.getSelectedItem();

		requiredUnicodeScript.setModel(getScriptListModel(stats));
		if (stats.foundScriptCounts.containsKey(currentSelectedScript)) {
			requiredUnicodeScript.setSelectedItem(currentSelectedScript);
		}
		else {
			requiredUnicodeScript.setSelectedItem(CharacterScriptUtils.ANY_SCRIPT_ALIAS);
		}
		requiredUnicodeScript.addItemListener(itemListener);

	}
For test/screen shot use

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