private final void waitForButton(
			@SuppressWarnings("hiding") final String text) {
		try {
			synchronized (Button.class) {
				if (this.master.isInterrupted()) {
					return;
				}
				revalidate(true, true);
				this.pressed = null;
				if (Thread.currentThread() != this.master) {
					this.master.interrupt();
				}
				Button.class.wait();
				if (this.master.isInterrupted()) {
					destroy();
				}
			}
		} catch (final InterruptedException e) {
			this.master.interrupt();
		}
		if (this.pressed == Button.ABORT) {
			destroy();
		}
		this.mainFrame.getContentPane().removeAll();
		this.mainFrame.add(this.wait);
		this.wait.setText(text);
		revalidate(true, false);
	}