public void handleDocumentEvent(DocumentEvent e){
  if (running && parsers.size() > 0) {
    timer.restart();
  }
}

public void handleDocumentEvent ( DocumentEvent e ) { if ( running && parsers . size ( ) > 0 ) { timer . restart ( ) ; } }
called when the document is modified .
