if (b.isContentAreaFilled())
if (b.isContentAreaFilled() && b.isOpaque())
  protected void paintButtonPressed(Graphics g, AbstractButton b)  {    if (b.isContentAreaFilled())      {	Rectangle area = new Rectangle();	SwingUtilities.calculateInnerArea(b, area);        g.setColor(b.getBackground().darker());        g.fillRect(area.x, area.y, area.width, area.height);      }  }