public static <T extends Component> T findComponent(DialogComponentProvider provider,
			Class<T> desiredClass) {
		return findComponent(provider.getComponent(), desiredClass);
	}
Returns the first {@link Component} of the given type inside of the given dialog

@param provider the dialog
@param desiredClass the class of the component
@return the component; null if none was found
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java