public boolean importData(TransferSupport supp) 
    {
    	/* do not continue if the drop is not of a supported flavor */
    	System.out.println("FileTransferHandler::importData()\n type:: "+ supp.getDataFlavors()[0]);
        if (!canImport(supp)) 
        {
        	System.out.println("Drop type ::" + supp.getDataFlavors()[0] + " not supported");
            return false;
        }
        
        Component c =  supp.getComponent();
        
        /* get the name of the destination */
        to_name = c.getName();
        
        /* fetch the Transferable  */
        Transferable t = supp.getTransferable();
        
        /* get the flavor of the drop */
        DataFlavor[] d = supp.getDataFlavors();
        
        try {
            /* fetch the data from the Transferable */
            filenames = (List<File>)t.getTransferData(DataFlavor.javaFileListFlavor);
           
            /* if NOT an EXTERNAL Drop */
            if(!external_OSX.equals(d[0].toString()) && !external_WIN.equals(d[0].toString()))
            {
            	
            	//Object obj = (Object)t.getTransferData(DataFlavor.stringFlavor);
            	from_name = (String) t.getTransferData(DataFlavor.stringFlavor);
            }
            else
            	from_name = "----external source-----";
            
       
            //System.out.println("made it to line 122");
            if(to_name.equals(from_name))
    		{
    			System.err.println("ERROR::PlayList::"+to_name +":: trying to drop on PlayList::" + from_name + ":::import aborted!!!" );
    			//from_name = "";
    			return false;
    		}
            else
            {
            	System.out.println("Drag from Playlist::" + from_name + " to PlayList::" + to_name + " accepted!!");
            }
    		for(int i = 0; i < filenames.size(); i++)
            {
    			System.out.println(filenames.get(i).getAbsolutePath());
            	gui.addToList(filenames.get(i).getAbsolutePath());
            }
    	    
        } catch (UnsupportedFlavorException e) {
        	System.out.println("FileTransferHandler::importData():: Unsupported Data Flavor!");
        	e.printStackTrace();
            return false;
        } catch (IOException e) {
            return false;
        }
        
        return true;
    }