Drag and drop an URL  
Author Message
Vojta





PostPosted: 2006-3-12 1:57:00 Top

java-programmer, Drag and drop an URL Hello,

can you give an advice please? I learned how to drag and drop an URL from my
web browser to my Java application. But it does not work as I would like.
For example if I drop URL http://java.sun.com/ my application receives
http://java.sun.com/Java Technology where "Java Technology" is not the part
of URL but page title. Is there any way how to receive pure URL without the
page title? I worry that by cutting off everything after the last slash I
can damage some URLs. I use DataFlavor.stringFlavor.

Thank you! Vojta