@Nullable
      @Override
      protected JRootPane getRootPane() {
        RootPaneContainer container = ObjectUtils.tryCast(myWrapper.getWindow(), RootPaneContainer.class);
        return container != null ? container.getRootPane() : null;
      }
@Nullable
      @Override
      protected JRootPane getRootPane()