protected void paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) {
        Rectangle selectedRect = selectedIndex < 0 ? null : getTabBounds(selectedIndex, calcRect);
        g.setColor(darkShadow);
        g.drawLine(x, y, selectedRect.x - (selectedRect.height / 4), y);
        g.drawLine(selectedRect.x + selectedRect.width + (selectedRect.height / 4), y, x + w, y);
        g.setColor(selectedColor);
        g.drawLine(selectedRect.x - (selectedRect.height / 4) + 1, y, selectedRect.x + selectedRect.width + (selectedRect.height / 4) - 1, y);

    }