private void selectCheckBox(Container parent, String name) throws Exception {
		JCheckBox cb = (JCheckBox) findButton(parent, name);
		runSwing(() -> {
			if (cb.isSelected()) {
				return;
			}
			cb.doClick();
		});
	}
Tests for the search text plugin.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/searchtext/SearchTextPlugin1Test.java