public static JButton findButtonByText(DialogComponentProvider provider, String text) {
		return findButtonByText(provider.getComponent(), text);
	}
Searches the component and subcomponents of the indicated provider and returns the
component with the specified name.

@param provider the provider of the component to search
@param name the name of the desired component

@return the component, or null if not found
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java