public void exec()
	{
		if (WindowStack.getLastInstance() != null) {
			setParent(WindowStack.getLastInstance());
		}
		move(300, 300);
		show();
		wait = true;
		while (wait) {
			QApplication.processEvents();
			try {
				Thread.sleep(100);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}