ww.setOutput(getOutput());
ww.setTimeouts(getTimeouts());
try {
return(ww.waitWindow((Window)getSource(), chooser, index));
} catch (InterruptedException e) {
throw(new JemmyException("Waiting for \"" + chooser.getDescription() +
"\" window has been interrupted", e));
}
}