String () { Thread current = Thread.currentThread(); Thread edt = EDT.getEventDispatchThread(); return "Current thread: " + describe(current) + " (EventQueue.isDispatchThread()=" + EventQueue.isDispatchThread() + ")\n" + "SystemEventQueueThread: " + (edt == current ? "(same)" : describe(edt)); }