if (tabPlacement == SwingConstants.LEFT) {
  protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement,                                            int selectedIndex, int x, int y,                                            int w, int h)  {    Color saved = g.getColor();    g.setColor(lightHighlight);    int startgap = rects[selectedIndex].y;    int endgap = rects[selectedIndex].y + rects[selectedIndex].height;    int diff = 0;    if (tabPane.getTabLayoutPolicy() == JTabbedPane.SCROLL_TAB_LAYOUT)      {	Point p = findPointForIndex(currentScrollLocation);	diff = p.y;      }    if (tabPlacement == SwingConstants.LEFT)      {	g.drawLine(x, y, x, startgap - diff);	g.drawLine(x, endgap - diff, x, y + h);      }    else      g.drawLine(x, y, x, y + h);    g.setColor(saved);  }