{ MetalUtils.paintGradient(g, 0, 0, c.getWidth(), c.getHeight(), SwingConstants.VERTICAL, getPropertyPrefix() + "gradient"); paint(g, c); }
updateWidthGradient(g, b, b.getParent());
  public void update(Graphics g, JComponent c)  {    AbstractButton b = (AbstractButton) c;    ButtonModel m = b.getModel();    if (b.isContentAreaFilled()        && (UIManager.get(getPropertyPrefix() + "gradient") != null)        && ! m.isPressed() && ! m.isArmed()        && b.isEnabled()        && (b.getBackground() instanceof UIResource))      {        MetalUtils.paintGradient(g, 0, 0, c.getWidth(), c.getHeight(),                                 SwingConstants.VERTICAL,                                 getPropertyPrefix() + "gradient");        paint(g, c);      }    else      super.update(g, c);  }