code: public void setActiveIndices(final int[] indices) {
  		TabSetModel model = getOrCreateComponentModel();
  
  		if (indices == null || indices.length == 0) {
  			model.activeTabs = null;
  			return;
  		}
  
  		if (model.activeTabs == null) {
  			model.activeTabs = new ArrayList<>(1);
  		}
  
  		model.activeTabs.clear();
  
  		for (int index : indices) {
  			model.activeTabs.add(index);
  		}
  	}
docs: Sets the active tab indices (as seen by the given context/session).
  
  @param indices the tab indices to set