Google Answers Logo
View Question
 
Q: Java Swing Drag & Drop to Explorer ( No Answer,   2 Comments )
Question  
Subject: Java Swing Drag & Drop to Explorer
Category: Computers > Programming
Asked by: mrprimate-ga
List Price: $15.00
Posted: 19 Oct 2005 22:03 PDT
Expires: 18 Nov 2005 21:03 PST
Question ID: 582445
How can I drag and drop something from Swing onto a directory in
Windows Explorer.  I need to be able to drop anything (text,whatever),
into the actual directory that the user drops the mouse over.

So far I have only been able to determine that there is a drop but I
can not get the actual file path drop destination directory.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Java Swing Drag & Drop to Explorer
From: sublime1-ga on 19 Oct 2005 23:20 PDT
 
The Drag and Drop PDF tutorial on O'Reilly.com seems thorough:
http://www.oreilly.com/catalog/jswing/

Here's a direct link:
http://www.oreilly.com/catalog/jswing/chapter/dnd.beta.pdf
Subject: Re: Java Swing Drag & Drop to Explorer
From: mrprimate-ga on 20 Oct 2005 11:14 PDT
 
This PDF from OReilly is all about D&D but does not cover ANYTHING on
how to drop from swing OUT TO Windows Explorer

I just need to find out how to get the directory the user is trying to drop into,

ex... if I drag my object over to desktop, I need it to give me:

C:\Documents and Settings\SeaMonster\Desktop\

so that I know where to put my object!!

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy