a.addAttribute(Underline, new Boolean(b));
a.addAttribute(Underline, Boolean.valueOf(b));
  public static void setUnderline(MutableAttributeSet a, boolean b)  {    a.addAttribute(Underline, new Boolean(b));  } 