code: protected void paint(SeaGlassContext context, Graphics g) {
          int selectedIndex = tabPane.getSelectedIndex();
  
          ensureCurrentLayout();
  
          // Paint content border.
          paintContentBorder(tabContentContext, g, tabPlacement, selectedIndex);
          paintTabArea(g, tabPlacement, selectedIndex);
      }
docs: Paint the tabbed pane.
  
  @param context the SynthContext describing the control.
  @param g       the Graphics context to paint with.