am trying to perform drag and drop from list of components -as icons - but they are moving not copying ,however, i used .ACTION_COPY
but it has no sense!
the sources are located in a separate class then the distination .i.e.coponents to be draged are in a class called componentslibrary and the distination class is called editor.
in source class :
DragDrop dndListener = new DragDrop();
DragSource dragSource = neDropTarget dropTarget1 = new DropTarget(this, DnDConstants.ACTION_COPY, dndListener);
//for each of the 6 components dragrecognizer were identified in order to be dragable otherwise can not be draged with .ACTION_COPY.