src/nl/knokko/gui/testing/GuiTestHelper.java
/**
	 * Waits the current delay time. This method will block until the time has
	 * expired. Since the window should run on another thread, it should get time to
	 * do whatever it is doing. This method will automatically be called after every
	 * mouse and keyboard operation to give the window some time to respond. The
	 * setDelayTime() method can be used to set that delay time.
	 */
Waits the current delay time. This method will block until the time has
expired. Since the window should run on another thread, it should get time to
do whatever it is doing. This method will automatically be called after every
mouse and keyboard operation to give the window some time to respond. The
setDelayTime() method can be used to set that delay time.
Waits the current delay time . This method will block until the time has expired . Since the window should run on another thread it should get time to do whatever it is doing . This method will automatically be called after every mouse and keyboard operation to give the window some time to respond . The setDelayTime () method can be used to set that delay time .
public void delay() {
		delay(delayTime);
		try {
			SwingUtilities.invokeAndWait(() -> {});
		} catch (InvocationTargetException e) {
			throw new Error(e);
		} catch (InterruptedException e) {
			throw new RuntimeException("The test was interrupted during delay", e);
		}
	}
public void delay ( ) { delay ( delayTime ) ; try { SwingUtilities . invokeAndWait ( ( ) -> { } ) ; } catch ( InvocationTargetException e ) { throw new Error ( e ) ; } catch ( InterruptedException e ) { throw new RuntimeException ( "The test was interrupted during delay" , e ) ; } }
Waits the current delay time.
Waits the current delay time .
// Wait for the gui thread to complete execution