Tool for debugging event queue stuff. This can be used to log the event queue, or insert breakpoints, etc. Toolkit.getDefaultToolkit().getSystemEventQueue().push(new LoggingEventQueue());