* Waits popup containing menu item with <code>menuItemText</code> text.
* @param menuItemText a text of a menu item which supposed to be displayed inside the popup.
* @return a JPopupMenu fitting the criteria.
*/
public static JPopupMenuOperator waitJPopupMenu(final String menuItemText) {
return(waitJPopupMenu(new ComponentChooser() {
public boolean checkComponent(Component comp) {
if(comp instanceof JPopupMenu) {
ComponentSearcher searcher = new ComponentSearcher((Container)comp);
searcher.setOutput(JemmyProperties.getCurrentOutput().createErrorOutput());
return(searcher.findComponent(new JMenuItemOperator.