@ApiStatus.Internal
  public static void updateEdt() {
    if (myEventDispatchThread != Thread.currentThread()) {
      myEventDispatchThread = Thread.currentThread();
    }
  }
@ApiStatus.Internal
  public static void updateEdt()