public void addChooserPanel(AbstractColorChooserPanel panel){
  AbstractColorChooserPanel[] oldPanels=getChooserPanels();
  AbstractColorChooserPanel[] newPanels=new AbstractColorChooserPanel[oldPanels.length + 1];
  System.arraycopy(oldPanels,0,newPanels,0,oldPanels.length);
  newPanels[newPanels.length - 1]=panel;
  setChooserPanels(newPanels);
}

public void addChooserPanel ( AbstractColorChooserPanel panel ) { AbstractColorChooserPanel [ ] oldPanels = getChooserPanels ( ) ; AbstractColorChooserPanel [ ] newPanels = new AbstractColorChooserPanel [ oldPanels . length + 1 ] ; System . arraycopy ( oldPanels , 0 , newPanels , 0 , oldPanels . length ) ; newPanels [ newPanels . length - 1 ] = panel ; setChooserPanels ( newPanels ) ; }
adds a color chooser panel to the color chooser .
