kdriver.typeKey(oper, KeyEvent.VK_BACK_SPACE, (char)KeyEvent.VK_BACK_SPACE, 0, pushTime);
betweenTime.sleep();
}
while(getText(oper).length() > 0) {
kdriver.pushKey(oper, KeyEvent.VK_DELETE, 0, pushTime);
betweenTime.sleep();
}
}
public void typeText(ComponentOperator oper, String text, int caretPosition) {
changeCaretPosition(oper, caretPosition);
KeyDriver kDriver = DriverManager.getKeyDriver(oper);