private void doShow() {
    if (UiInterceptors.tryIntercept(this)) {
      return;
    }

    ensureEventDispatchThread();
    registerKeyboardShortcuts();

    Disposable uiParent = ClientDisposableProvider.getCurrentDisposable();
    // may be null if no app yet (license agreement)
    if (uiParent != null) {
      // ensure everything is disposed on app quit
      Disposer.register(uiParent, myDisposable);
    }

    Window window = myPeer.getWindow();
    if (window != null) {
      ClientProperty.put(window, KEEP_POPUPS_OPEN, myKeepPopupsOpen);
    }

    myPeer.show();
  }
private void doShow()