*/
public int waitItem(final String item, final StringComparator comparator) {
getOutput().printLine("Wait item \"" + item + "\" available in combo box \n : "+
toStringSource());
getOutput().printGolden("Wait item \"" + item + "\" available in combo box.");
waitState(new ComponentChooser() {
public boolean checkComponent(Component comp) {
return findItemIndex(item, comparator) > -1;
}
public String getDescription() {
return "Item \"" + item + "\" available in combo box.";