There are many tutorials on copying files to the clipboard using the SWT API. However, I have never seen an explanation of how to cut files to the clipboard. What I'm trying to do is write a simple Java file manager where you can select a file and click Ctrl+X, and when you click Ctrl+Vin your own file manager, the files will be moved (not copied) from their original location to the destination. Does the SWT API really support this or some kind of lower level API needed to accomplish this?
source
share