public void addColorSectionWithDerived(String label, Color[] primaryColors) {
if ((primaryColors == null) || (primaryColors.length != 10)) {
throw new IllegalArgumentException("Must pass exactly 10 colors");
}
JPanel selectorContainer = new MultiRowSelector(primaryColors);
JColorSelectorPanel selector = new JColorSelectorPanel(label,
selectorContainer);
this.addMenuPanel(selector);
this.lastColorSelectorPanel = selector;
}