This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
And if you don't want the clipboard to be involved, you can still use a similar technique using drag-and-drop. Google for java drag and drop tutorial and check out the Oracle tutorial. Based on the code you find there you should be able to do some experimenting and come up with a component where you can drop a file which was dragged from (e.g.) Windows Explorer.
Joined: Feb 05, 2013
thank you very much.
Randall Twede tested the code and served me served me.
instead of imageFlavor I tested with javaFileListFlavor.
Paul Clapham thank you very much for your suggestion, I'll try, I think that is what I was looking.