private void drainEvents()
void drainEvents()
  private void drainEvents()  {    synchronized (queueLock)      {        if (isCoalesce())          {            if (queue > 0)              fireActionPerformed();          }        else          {            while (queue > 0)              {                fireActionPerformed();                queue--;              }          }        queue = 0;      }  }