eventDispatcher.mouseDragged(event);
}
}
if (updateManager != null && updateManager.isRunning()) {
RunnableQueue rq = updateManager.getUpdateRunnableQueue();
// Events compression.
synchronized (rq.getIteratorLock()) {
Iterator it = rq.iterator();
while (it.hasNext()) {
Object next = it.next();
if (next instanceof MouseDraggedRunnable) {
MouseDraggedRunnable mdr;
mdr = (MouseDraggedRunnable)next;
MouseEvent mev = mdr.event;
if (mev.getModifiers() == e.getModifiers()) {
mdr.event = e;
}
return;
}
}
}
rq.invokeLater(new MouseDraggedRunnable(e));
}
}