code: private SeaGlassContext getContext(JComponent c, Region subregion, int state) {
          SynthStyle style = null;
          Class      klass = SeaGlassContext.class;
  
          if (subregion == Region.TABBED_PANE_TAB) {
              style = tabStyle;
          } else if (subregion == Region.TABBED_PANE_TAB_AREA) {
              style = tabAreaStyle;
          } else if (subregion == Region.TABBED_PANE_CONTENT) {
              style = tabContentStyle;
          } else if (subregion == SeaGlassRegion.TABBED_PANE_TAB_CLOSE_BUTTON) {
              style = tabCloseStyle;
          }
  
          return SeaGlassContext.getContext(klass, c, subregion, style, state);
      }
docs: Create a SynthContext for the component, subregion, and state.
  
  @param  c         the component.
  @param  subregion the subregion.
  @param  state     the state.
  
  @return the newly created SynthContext.