public TransferHandlerAnnotationPlaintext(final JEditorPane editor){
  if (editor == null) {
    throw new IllegalArgumentException("editor must not be null!");
  }
  this.editor=editor;
  this.original=editor.getTransferHandler();
}

public TransferHandlerAnnotationPlaintext ( final JEditorPane editor ) { if ( editor == null ) { throw new IllegalArgumentException ( "editor must not be null!" ) ; } this . editor = editor ; this . original = editor . getTransferHandler ( ) ; }
creates a new plain text transfer handler for the annotation editor .
