while (eq.next != null) eq = eq.next;
	public static boolean isDispatchThread() {		EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue();		return (Thread.currentThread() == eq.dispatchThread);	}