List of usage examples for java.awt EventQueue subclass-usage
From source file EventDispatchThreadHangMonitor.java
/**
* Monitors the AWT event dispatch thread for events that take longer than
* a certain time to be dispatched.
* <p/>
* The principle is to record the time at which we start processing an event,
* and have another thread check frequently to see if we're still processing.