@Override
  protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) {
    if (tabPlacement == LEFT || myPaintContentBorder) {
      Rectangle selRect = selectedIndex < 0 ? null :
                          getTabBounds(selectedIndex, calcRect);
      g.setColor(darkShadow);

      // Draw unbroken line if tabs are not on LEFT, OR
      // selected tab is not in run adjacent to content, OR
      // selected tab is not visible (SCROLL_TAB_LAYOUT)
      //
      if (tabPlacement != LEFT || selectedIndex < 0 ||
          (selRect.x + selRect.width + 1 < x) ||
          (selRect.y < y || selRect.y > y + h)) {
        LinePainter2D.paint((Graphics2D)g, x, y, x, y + h - 2);
      }
      else {
        // Break line to show visual connection to selected tab
        LinePainter2D.paint((Graphics2D)g, x, y, x, selRect.y + 1);
        if (selRect.y + selRect.height < y + h - 2) {
          LinePainter2D.paint((Graphics2D)g, x, selRect.y + selRect.height + 1, x, y + h + 2);
        }
      }
    }
  }
@Override
  protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h)