if (this.color == null)
{
int[] rgb = getUmsatzTyp().getColor();
if (rgb == null || rgb.length != 3)
rgb = new int[]{0,0,0};
this.color = new ColorInput(new Color(GUI.getDisplay(),new RGB(rgb[0],rgb[1],rgb[2])),true);
this.color.setEnabled(getUmsatzTyp().isCustomColor());
}
return this.color;
}