void addLabel(Component label){
  if (labels == null) {
    labels=new Vector();
  }
  labels.addElement(label);
}

void addLabel ( Component label ) { if ( labels == null ) { labels = new Vector ( ) ; } labels . addElement ( label ) ; }
adds a label which has the same url , useful for duplicate images in the same page
