code: public void clearAccordion()
      {
          List<JComponent> components = 
              new ArrayList<JComponent>(collapsiblePanels.keySet());
          for (JComponent component : components)
          {
              removeFromAccordion(component);
          }
      }
docs: Remove all components that have previously been added by calling
  {@link #addToAccordion}