public void drop(DropTargetDropEvent evt) {
		
		// Called when the user finishes or cancels the drag operation
		    	
		try {
		
		    Transferable transferable = evt.getTransferable();
		
		    if (transferable.isDataFlavorSupported(DataFlavor.stringFlavor)) {
		
		  evt.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE);
		
		  String dragContents = (String) transferable.getTransferData(DataFlavor.stringFlavor);
		
		  evt.getDropTargetContext().dropComplete(true);
		
		  // We append the label text to the text area when dropped
		
		  
		  
		

		  if (zoneId!=1){
			  for (Hero hero : HeroStock.allScope) {
					if (hero.getZone()==zoneId) {
						hero.setZone(1);
						
					}
				} 
		  }
		  
		  
		  
		  
		  
		  for (Hero hero : HeroStock.allScope) {
			if (hero.getId()==Integer.parseInt(dragContents)) {
				hero.setZone(zoneId);
				
			}
		}
		  
		    } else {
		
		  evt.rejectDrop();
		
		    }
		
		} catch (IOException e) {
		
		    evt.rejectDrop();
		
		} catch (UnsupportedFlavorException e) {
		
		    evt.rejectDrop();
		
		}
		
		    }