src/nl/knokko/gui/testing/GuiTestHelper.java
/**
	 * Presses and releases the key with the specified keycode amount times. The
	 * delay between pressing and releasing each time 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
	 * @param amount  The number of times the key should be pressed and released
	 */
Presses and releases the key with the specified keycode amount times. The
delay between pressing and releasing each time 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
@param amount  The number of times the key should be pressed and released
Presses and releases the key with the specified keycode amount times . The delay between pressing and releasing each time 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 @param amount The number of times the key should be pressed and released
public void pressAndRelease(int keycode, int amount) {
		for (int counter = 0; counter < amount; counter++) {
			pressAndRelease(keycode);
		}
	}
public void pressAndRelease ( int keycode , int amount ) { for ( int counter = 0 ; counter < amount ; counter ++ ) { pressAndRelease ( keycode ) ; } }
Presses and releases the key with the specified keycode amount times.
Presses and releases the key with the specified keycode amount times .