if (a.isDefined(Background)) return (Color) a.getAttribute(Background);
Color c = (Color) a.getAttribute(Background); if (c != null) return c;
  public static Color getBackground(AttributeSet a)  {    if (a.isDefined(Background))      return (Color) a.getAttribute(Background);    else      return Color.WHITE;  } 