Use IntelliJ's invokeLater instead of Swings

.. in order for tests to pass. Read access is no longer given
implicitly by default when on the EDT and must be wrapped
in an IntelliJ invokeLater call or an explicit readAction. This
is new in 2025.1.

Bug: 402134197
Change-Id: I33006b58b3a1d34c527d39af346d5b83068f8c5f
diff --git a/fest-swing/src/main/java/org/fest/swing/edt/GuiActionRunner.java b/fest-swing/src/main/java/org/fest/swing/edt/GuiActionRunner.java
index 7a95579..c34d057 100644
--- a/fest-swing/src/main/java/org/fest/swing/edt/GuiActionRunner.java
+++ b/fest-swing/src/main/java/org/fest/swing/edt/GuiActionRunner.java
@@ -19,6 +19,7 @@
 import static org.fest.swing.exception.UnexpectedException.unexpected;
 import static org.fest.util.Throwables.appendStackTraceInCurentThreadToThrowable;
 
+import com.intellij.openapi.application.ApplicationManager;
 import java.util.concurrent.CountDownLatch;
 
 import net.jcip.annotations.GuardedBy;
@@ -117,7 +118,7 @@
     }
     final CountDownLatch latch = new CountDownLatch(1);
     action.executionNotification(latch);
-    invokeLater(action);
+    ApplicationManager.getApplication().invokeLater(action);
     try {
       latch.await();
     } catch (InterruptedException e) {