src/nl/knokko/gui/testing/GuiTestHelper.java
/**
	 * Presses and releases the key with the specified keycode. The delay between
	 * the pressing and the releasing the key will be the delay time of this gui
	 * test helper. Use the constants of KeyEvent to find the right keycode.
	 * 
	 * @param keycode The code of the key to press and release
	 */
Presses and releases the key with the specified keycode. The delay between
the pressing and the releasing the key will be the delay time of this gui
test helper. Use the constants of KeyEvent to find the right keycode.

@param keycode The code of the key to press and release
Presses and releases the key with the specified keycode . The delay between the pressing and the releasing the key will be the delay time of this gui test helper . Use the constants of KeyEvent to find the right keycode . @param keycode The code of the key to press and release
public void pressAndRelease(int keycode) {
		if (stopped) {
			throw new TestException("Test has been forced to stop");
		}
		typeDelay();
		pressAndReleaseNow(keycode);
		typeDelay();
	}
public void pressAndRelease ( int keycode ) { if ( stopped ) { throw new TestException ( "Test has been forced to stop" ) ; } typeDelay ( ) ; pressAndReleaseNow ( keycode ) ; typeDelay ( ) ; }
Presses and releases the key with the specified keycode.
Presses and releases the key with the specified keycode .