private static void installOnShowCallback(@Nullable Window window, final @Nullable Runnable onShowCallback) {
    if (window == null || onShowCallback == null) return;
    UIUtil.runWhenWindowOpened(window, onShowCallback);
  }
private static void installOnShowCallback(@Nullable Window window, final @Nullable Runnable onShowCallback)