src/java.desktop/share/classes/java/awt/EventQueue.java

Print this page

        

*** 416,426 **** } /* * Should avoid of calling this method by any means * as it's working time is dependant on EQ length. ! * In the wors case this method alone can slow down the entire application * 10 times by stalling the Event processing. * Only here by backward compatibility reasons. */ private boolean coalesceOtherEvent(AWTEvent e, int priority) { int id = e.getID(); --- 416,426 ---- } /* * Should avoid of calling this method by any means * as it's working time is dependant on EQ length. ! * In the worst case this method alone can slow down the entire application * 10 times by stalling the Event processing. * Only here by backward compatibility reasons. */ private boolean coalesceOtherEvent(AWTEvent e, int priority) { int id = e.getID();