public static synchronized Color getOverridenColor(String colorConstant,
      MicrobaComponent component) {

    Map<String, Color> componentOverrideMap = component.getColorOverrideMap();
    if (componentOverrideMap != null) {
      if (componentOverrideMap.containsKey(colorConstant)) {
        Color val = componentOverrideMap.get(colorConstant);
        if (val != null)
          return val;
        else
          return UIManager.getColor(val);
      }
    }

    String currentLookAndFeel = UIManager.getLookAndFeel().getID();
    Map<String, Color> overrides = lookAndFeelToOverride.get(currentLookAndFeel);
    if (overrides != null) {
      if (overrides.containsKey(colorConstant)) {
        Color val = overrides.get(colorConstant);
        if (val != null)
          return val;
        else
          return UIManager.getColor(val);

      }
    }

    return null;
  }
public static synchronized Color getOverridenColor(String colorConstant,
      MicrobaComponent component)