EdtInvocationManager () { EdtInvocationManager result = ourInstance.get(); if (result == null) { result = new SwingEdtInvocationManager(); if (!ourInstance.compareAndSet(null, result)) { result = ourInstance.get(); } } return result; }