public void setText(String newText) {
   setText(new StringCharacterIterator(newText));
 }
Ejemplo n.º 2
0
 /**
  * Sets the new text string to be analyzed, the current position will be reset to the beginning of
  * this new string, and the old string will be lost.
  *
  * @param newText the new text string to be analyzed.
  */
 public void setText(String newText) {
   wrapped.setText(newText);
 }