code: protected void setSelectedComponent (int idx)
      {
          int cid = _components.get(idx).intValue();
          _model.setSelectedComponent(_cclass, cid);
      }
docs: Sets the selected component in the builder model for the
  component class associated with this editor to the component at
  the given index in this editor's list of available components.