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 ) ; }
Draw the close graphic for the simple enabled state .