public static Component clickComponentProvider(ComponentProvider provider, int button, int x,
			int y, int clickCount, int modifiers, boolean popupTrigger) {

		JComponent component = provider.getComponent();
		final Component clickComponent = SwingUtilities.getDeepestComponentAt(component, x, y);
		clickMouse(clickComponent, MouseEvent.BUTTON1, x, y, clickCount, modifiers, popupTrigger);
		return clickComponent;
	}
Clicks the JComponent at the given point from within the given provider.

@param provider The provider to be clicked.
@param button The mouse button to use (left, center, right)
@param x the x location of the click
@param y the y location of the click
@param clickCount the number of times to click
@param modifiers the modifiers to apply (Ctrl, Alt, etc; 0 is none)
@param popupTrigger true if this click should show a popup menu
@return the actual Java JComponent that was clicked
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java