@Override
  protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) {
    if (isSelected) {
      g.setColor(LIGHT);
    }
    else {
      g.setColor(DARK);
    }
    switch (tabPlacement) {
      case LEFT -> g.fillRect(x + 1, y + 2, w - 2, h - 3);
      case RIGHT -> g.fillRect(x, y + 2, w - 1, h - 3);
      case BOTTOM -> g.fillRect(x + 1, y, w - 3, h - 1);
      //case TOP,
      default -> g.fillRect(x + 1, y + 1, w - 2, h);
    }
  }
@Override
  protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)