code: public void paintPressed(Graphics2D g, JComponent c, int width, int height) {
          paint(g, c, width, height, pressedBorder, pressedCorner, pressedInterior);
      }
docs: Paint the pressed state of the button foreground.
  
  @param g      the Graphics2D context to paint with.
  @param c      the button to paint.
  @param width  the width to paint.
  @param height the height to paint.