src/nl/knokko/gui/testing/GuiTestHelper.java
/**
	 * Lets the test mouse click at its current position with the specified button.
	 * This doesn't necessarily mean that the real user mouse will click, it might
	 * also cause a fake click event for instance.
	 * 
	 * button = 0 is for left clicking. button = 1 is for right clicking and button
	 * = 2 is for clicking with the scroll wheel.
	 * 
	 * @param button The button to click with
	 */
Lets the test mouse click at its current position with the specified button.
This doesn't necessarily mean that the real user mouse will click, it might
also cause a fake click event for instance.

button = 0 is for left clicking. button = 1 is for right clicking and button
= 2 is for clicking with the scroll wheel.

@param button The button to click with
Lets the test mouse click at its current position with the specified button . This doesn ' t necessarily mean that the real user mouse will click it might also cause a fake click event for instance . button = 0 is for left clicking . button = 1 is for right clicking and button = 2 is for clicking with the scroll wheel . @param button The button to click with
public void click(int button) {
		if (stopped) {
			throw new TestException("Test has been forced to stop");
		}
		delay();
		clickNow(button);
		delay();
	}
public void click ( int button ) { if ( stopped ) { throw new TestException ( "Test has been forced to stop" ) ; } delay ( ) ; clickNow ( button ) ; delay ( ) ; }
Lets the test mouse click at its current position with the specified button.
Lets the test mouse click at its current position with the specified button .