getOutput().printLine("Wait " + Integer.toString(index) +
"'th item to be selected in component \n : "+
toStringSource());
getOutput().printGolden("Wait " + Integer.toString(index) +
"'th item to be selected");
waitState(new ComponentChooser() {
public boolean checkComponent(Component comp) {
return(getSelectedIndex() == index);
}
public String getDescription() {
return("Has " + Integer.toString(index) + "'th item selected");