public void setControlPanelBackground(Color controlPanelBackground) {
this.controlPanelBackground = controlPanelBackground;
Enumeration<JComponent> enumeration = gbComponents.elements();
while (enumeration.hasMoreElements())
{
GlobalBean element = (GlobalBean) enumeration.nextElement();
if(element instanceof MotorButton)
((MotorButton)element).setPanelBackgroundColor(controlPanelBackground);
}
}