public void runInSwingThread(@NotNull Runnable action) {
    ThreadingAssertions.assertEventDispatchThread();
    try {
      ProgressManager.getInstance().runProcess(action, this);
    }
    catch (ProcessCanceledException ignore) {
    }
    finally {
      progressFinished();
    }
  }
public void runInSwingThread(@NotNull Runnable action)