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