@Override
      public javax.swing.text.Document getDocument() {
        //noinspection deprecation
        return EditorComponentImpl.this.getDocument();
      }
@Override
      public javax.swing.text.Document getDocument()