locked.wait();
locked.wait(100);
	public void iterateNativeQueue(EventQueue locked, boolean block) {        if (block) {            this.waitingNativeQueue = locked;            synchronized (locked) {                try {                    locked.wait();                } catch (InterruptedException e) {                    // Ignore                }                this.waitingNativeQueue = null;            }        }	}