public void insertUpdate(DocumentEvent e){
  if (!dirty) {
    setDirty(true);
  }
}

public void insertUpdate ( DocumentEvent e ) { if ( ! dirty ) { setDirty ( true ) ; } }
callback for when text is inserted into the document .
