code: private void drawEnabledGraphic(Graphics2D g, int width, int height) {
          Shape s = shapeGenerator.createTabCloseIcon(2, 2, width - 4, height - 4);
  
          g.setPaint(createGraphicInnerShadowGradient(s));
          g.fill(s);
      }
docs: Draw the "close" graphic for the simple enabled state.
  
  @param g      the Graphic context.
  @param width  the width of the graphic.
  @param height the height of the graphic.