In a sample program I have a `JTable` that shows list of files. When I dragged that file and dropped it to any where in native file system, my program moves that file to the dropped location.
Behind the scene for sample program I have created a temporary file with the same name into the system's `temp` location and write the content into that temporary file of the originally dragged file. Once it done, the temporary file automatically gets move to the dropped location.
To run the sample program, please create a `txt` file `abc` insert some text and copy that file into the current working directory.
Here is the code-
The only issue in my sample program is that I need to know the location where that temporary file has been moved finally from the system's `temp` location to the actual dropped location. i.e where the user has actual dropped that file at native file system.