public void paintIcon(Component c,Graphics g,int x,int y){
  _x=x;
  _y=y;
  _cancelIcon.paintIcon(c,g,x,y);
}

public void paintIcon ( Component c , Graphics g , int x , int y ) { _x = x ; _y = y ; _cancelIcon . paintIcon ( c , g , x , y ) ; }
implements icon interface . forwards the call to the proxied icon object and stores the x and y coordinates of the icon .
