if (c != null)
c.requestFocus();
}
public void play(ComponentFinder resolver) {
MComponent component = resolver.getMComponentById(getComponentId());
waitForWindowActive(getParentWindow(component.getComponent()));
requestFocus(component.getComponent());
if (actionType == ActionType.MOUSE_PRESSED) {
component.mousePressed(modifiers, position);
} else if (actionType == ActionType.MOUSE_RELEASED) {
component.mouseReleased(modifiers, position);
} else if (numberOfClicks == 0 || actionType == ActionType.HOVER)
component.hover(hoverDelay);
else
component.click(numberOfClicks, modifiers, position);
}