public static void pressButtonByText(DialogComponentProvider provider, String buttonText,
			boolean waitForCompletion) {
		pressButtonByText(provider.getComponent(), buttonText, waitForCompletion);
	}
Finds the button with the indicated TEXT that is a sub-component
of the indicated container, and then programmatically presses
the button.
@param provider the DialogComponentProvider containing the button.
@param buttonText the text on the desired JButton.
@param waitForCompletion if true wait for action to complete before returning,
otherwise schedule action to be performed and return immediately.
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java