code: public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, int x, int y, int w, int h, int tabIndex, int orientation) {
          paintBorder(context, g, x, y, w, h, null);
      }
docs: Paints the border of a tab of a tabbed pane. This implementation invokes
  the method of the same name without the orientation.
  
  @param context     SynthContext identifying the <code>JComponent</code>
  and <code>Region</code> to paint to
  @param g           <code>Graphics</code> to paint to
  @param x           X coordinate of the area to paint to
  @param y           Y coordinate of the area to paint to
  @param w           Width of the area to paint to
  @param h           Height of the area to paint to
  @param tabIndex    Index of tab being painted.
  @param orientation One of <code>JTabbedPane.TOP</code>, <code>
  JTabbedPane.LEFT</code>, <code>
  JTabbedPane.BOTTOM</code> , or <code>
  JTabbedPane.RIGHT</code>