vValue Event() {
public vValue Event() {
vValue Event() {    setCurrent(this);    vValue e = wEvent.dequeue(c, dx, dy);	// look for event    if (e == null) {				// if none available	iKeyword.output.file().flush();		// flush stdout	this.flush();				// flush & sync window   	e = wEvent.dequeue(c, dx, dy);		// try again    }    while (e == null) {		try {	    Thread.sleep(iConfig.PollDelay);	} catch (InterruptedException x) {	}	if (c == null) {	    iRuntime.error(142);	// window was closed while waiting	}	e = wEvent.dequeue(c, dx, dy);    }    return e;}