*/
public static JPopupMenu callPopup(final ComponentOperator oper, int x, int y, int mouseButton) {
oper.makeComponentVisible();
//1.5 workaround
if(System.getProperty("java.specification.version").compareTo("1.4") > 0) {
QueueTool qt = new QueueTool();
qt.setOutput(oper.getOutput().createErrorOutput());
qt.waitEmpty(10);
qt.waitEmpty(10);
qt.waitEmpty(10);
}
//end of 1.5 workaround
oper.clickForPopup(x, y, mouseButton);
oper.getTimeouts().sleep("JMenuOperator.WaitBeforePopupTimeout");
return(waitJPopupMenu(waitJPopupWindow(new ComponentChooser() {