I use Java Swing, I have a text field where I can put some folder path by using jfile chooser but I want do this directly, drop this folder and get the path. If some code is given as an example it will helpful for me.
Please give some code example if possible because I do not understand this code which is given in this link How can I use Drag-and-Drop in Swing to get file path? and which is given in Sun Oracle site also. Please describe this code. I am new to Java Swing.