public void render(Graphics g){
  if (!isRenderable(getShape()))   return;
  if (isUseImage()) {
    g.drawImage(image,imageX,imageY,null);
    renderLabel(g);
  }
 else   super.render(g);
}

public void render ( Graphics g ) { if ( ! isRenderable ( getShape ( ) ) ) return ; if ( isUseImage ( ) ) { g . drawImage ( image , imageX , imageY , null ) ; renderLabel ( g ) ; } else super . render ( g ) ; }
render the image when useimage is true , or calls super implementation otherwise
