@Override
    public void attachComponent(@NotNull Component componentToShow, @Nullable Runnable onDone) {
      String name = generateOrGetName(componentToShow, slidingPanel);
      slidingPanel.add(name, componentToShow);
      slidingPanel.getLayout().swipe(slidingPanel, name, JBCardLayout.SwipeDirection.FORWARD, onDone);
    }
@Override
    public void attachComponent(@NotNull Component componentToShow, @Nullable Runnable onDone)