@Override public void processHeadlessEvents(List<EventObject> headless){
  if (!GraphicsEnvironment.isHeadless()) {
    m_processingHeadlessEvents=true;
    for (    EventObject e : headless) {
      if (e instanceof ThresholdDataEvent) {
        acceptDataSet((ThresholdDataEvent)e);
      }
 else       if (e instanceof VisualizableErrorEvent) {
        acceptDataSet((VisualizableErrorEvent)e);
      }
    }
  }
  m_processingHeadlessEvents=false;
}

@ Override public void processHeadlessEvents ( List < EventObject > headless ) { if ( ! GraphicsEnvironment . isHeadless ( ) ) { m_processingHeadlessEvents = true ; for ( EventObject e : headless ) { if ( e instanceof ThresholdDataEvent ) { acceptDataSet ( ( ThresholdDataEvent ) e ) ; } else if ( e instanceof VisualizableErrorEvent ) { acceptDataSet ( ( VisualizableErrorEvent ) e ) ; } } } m_processingHeadlessEvents = false ; }
process a list of events that have been collected earlier . has no affect if the component is running in headless mode .
