@Override
      public void setDocument(Document doc) {
        super.setDocument(doc);
        doc.putProperty("filterNewlines", Boolean.FALSE);
      }
@Override
      public void setDocument(Document doc)