protected Transferable createTransferable(JComponent c) {
        
        semFROM = -1;
        //Set some FROM that are required to find proper transferable data
        deptPos = DataBase.findDeptPos(DataBase.selected_Department);
        tableFROM = (JTable)c;
        rowFROM = tableFROM.getSelectedRow();
        colFROM = tableFROM.getSelectedColumn();
        semFROM = Course_Manager_Main.window1.last_selected_table;
        
        String data = "";
        
        if(tableFROM.getSelectedColumn() == 0 | tableFROM.getSelectedColumn() == 1){
        	data = null;
        }//Prevents changing/taking of data from column 0 and 1
        else{
        	data = (String)(tableFROM.getValueAt(rowFROM, colFROM));
        }
        
        //set other timeTxCoordinateFROM (this variable requires data to be properly defined)
        for(int index = 0; index<DataBase.timeT[deptPos][rowFROM].length; index++)
        {
        	//System.out.println("deptPos: " + deptPos + " rowFROM: " + rowFROM +" index: " + index + " semFROM: " + semFROM);
        	if(DataBase.timeT[deptPos][rowFROM][index][semFROM]!=null)
        		System.out.println(DataBase.timeT[deptPos][rowFROM][index][semFROM].getName());
        	if(DataBase.timeT[deptPos][rowFROM][index][semFROM]!=null &&
        			DataBase.timeT[deptPos][rowFROM][index][semFROM].getName().equals(data))
        	{//locates last matching value
        		timeTxCoordinateFROM = index;
        	}
        }
       // System.out.println("deptPos: " + deptPos + " rowFROM: " + rowFROM +" timeTxCoordinateFROM: " + timeTxCoordinateFROM + " semFROM: " + semFROM);
        System.out.println(data);
        return new StringSelection(data);
    }