/**
* Waits for this Component has the keyboard focus.
* @throws TimeoutExpiredException
*/
public void waitHasFocus() {
Timeouts times = timeouts.cloneThis();
times.setTimeout("Waiter.WaitingTime",
times.getTimeout("ComponentOperator.WaitFocusTimeout"));
Waiter focusWaiter = new Waiter(new Waitable() {
public Object actionProduced(Object obj) {
return(hasFocus() ? "" : null);
}
public String getDescription() {