g.drawLine(x + y, rect.y + rect.height + 1, x + 1, y + h + 2);
g.drawLine(x + 1, rect.y + rect.height + 1, x + 1, y + h + 2);
  protected void paintContentBorderLeftEdge(Graphics g, int tabPlacement,                                            int selectedIndex, int x, int y,                                            int w, int h)  {    boolean isOcean = MetalLookAndFeel.getCurrentTheme() instanceof OceanTheme;    Color oceanSelectedBorder =      UIManager.getColor("TabbedPane.borderHightlightColor");    Rectangle rect = selectedIndex < 0 ? null :      getTabBounds(selectedIndex, calcRect);    if (isOcean)      {        g.setColor(oceanSelectedBorder);      }    else      {        g.setColor(selectHighlight);      }    // If tabs are not placed on LEFT, or if the selected tab is not in the    // run directly left to the content or the selected tab is not visible,    // then we draw an unbroken line.    if (tabPlacement != LEFT || selectedIndex < 0        || rect.x + rect.width + 1 < x || rect.y < y || rect.y > y + h)      {        g.drawLine(x, y + 1, x, y + h - 2);        if (isOcean && tabPlacement == LEFT)          {            g.setColor(MetalLookAndFeel.getWhite());            g.drawLine(x, y + 1, x, y + h - 2);          }             }    else      {        g.drawLine(x, y, x, rect.y + 1);        if (rect.y + rect.height < y + h - 2)          {            g.drawLine(x, rect.y + rect.height + 1, x, y + h + 2);          }        if (isOcean)          {            g.setColor(MetalLookAndFeel.getWhite());            g.drawLine(x + 1, y + 1, x + 1, rect.y + 1);            if (rect.y + rect.height < y + h - 2)              {                g.drawLine(x + y, rect.y + rect.height + 1, x + 1, y + h + 2);              }          }      }      }