public void setColor(Color color, boolean temporary, boolean both_sub) {
        if (both_sub) {
            super.setColor(color, temporary);
        }
        for (int c = 0; c < getNumSubComponents(); c++) {
            if (this.getSubComponent(c) instanceof GUIComponentGroup) {
                ((GUIComponentGroup)this.getSubComponent(c)).setColor(color, temporary, true);
            }
            else {
                this.getSubComponent(c).setColor(color, temporary);
            }
        }
    }