private void paintCheckIconEnabled(Graphics2D g,int width,int height){
  g.setPaint(iconEnabled);
  g.drawRoundRect(0,1,width - 1,height - 2,4,4);
}

private void paintCheckIconEnabled ( Graphics2D g , int width , int height ) { g . setPaint ( iconEnabled ) ; g . drawRoundRect ( 0 , 1 , width - 1 , height - 2 , 4 , 4 ) ; }
paint the check mark in enabled state .
