public static void pressButton(AbstractButton button) {
		if (!button.isEnabled()) {
			throw new AssertException("Attempted to press a disabled button");
		}
		pressButton(button, true);
	}
Programmatically presses the indicated button.

@param button the button
Ghidra/Framework/Gui/src/main/java/generic/test/AbstractGuiTest.java