public void setCustomColor(Color color, byte part)
  {
    switch (part)
    {
      case BORDER:
        custBord = color;
        break;
      case BOX:
        custBox = color;
        break;
      case BACK:
        custBack = color;
        break;
      case TEXT:
        custText = color;
        break;
      case TEXT_AREA:
        custTextArea = color;
        break;
        default:
          throw new IllegalArgumentException("I don't know the part number " + part);
    }
  }