@Override
  default @NotNull Rectangle getDropArea() {
    Rectangle r = new Rectangle(new Point(0, 0), getComponent().getSize());
    if (getTabCount() > 0) {
      @SuppressWarnings("UseDPIAwareInsets")
      Insets insets = JBUI.insets(0);
      Rectangle bounds = Objects.requireNonNull(getTabLabel(getTabAt(0))).getBounds();
      switch (getPresentation().getTabsPosition()) {
        case top -> insets.top = bounds.height;
        case left -> insets.left = bounds.width;
        case bottom -> insets.bottom = bounds.height;
        case right -> insets.right = bounds.width;
      }
      JBInsets.removeFrom(r, insets);
    }
    return r;
  }
@Override
  default @NotNull Rectangle getDropArea()