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);
		
		  String[] tmpstr=dragContents.split("	");
		  
		  if (tmpstr!=null){
			  if (Integer.parseInt(tmpstr[0])==100){
				  int idHeroShow=FAiF.gameScreen.heroInfo.getIdHeroToShow();
				  if (idHeroShow!=-1){
					 Hero tmpHero=FAiF.gameScreen.heroStock.getHeroById(idHeroShow);
					 Item tmpitem=FAiF.gameScreen.itemStock.getItemById(Integer.parseInt(tmpstr[1]));
					 for (Hero hero : FAiF.gameScreen.heroStock.allScope) {
							hero.removeItemFromHero(Integer.parseInt(tmpstr[1]));
						}
					 tmpHero.itemArray[itemPlaceSlotNumber]=Integer.parseInt(tmpstr[1]);
					 
					 
				  }
			  }
		  }
		  
		  	  

		  
		    } else {
		
		  evt.rejectDrop();
		
		    }
		
		} catch (IOException e) {
		
		    evt.rejectDrop();
		
		} catch (UnsupportedFlavorException e) {
		
		    evt.rejectDrop();
		
		}
		
		    }