String passwd;
final Shell shell = Activator.getDefault().getShell();
shell.getDisplay().asyncExec( new Runnable(){ public void run() {//*****
MPasswordDialog dialog = new MPasswordDialog( shell, prompt ,set );
int returnCode = dialog.open();
synchronized( mutex )
{
mutex.notify();
}