code: public void paintIcon (Component c, Graphics g, int x, int y)
      {
          Graphics2D gfx = (Graphics2D) g;
          Composite ocomp = gfx.getComposite();
          gfx.setComposite(_alpha);
          _icon.paintIcon(c, gfx, x, y);
          gfx.setComposite(ocomp);
      }
docs: documentation inherited from interface Icon