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