@Override
  public boolean checkInput(String inputString) {
    myErrorText = checkForErrors(inputString);
    if (myErrorText == null) {
      myWarningText = checkForWarnings(inputString);
    }
    else {
      myWarningText = null;
    }
    return myErrorText == null;
  }
@Override
  public boolean checkInput(String inputString)