Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Drag & Drop of a file not working in Ubuntu & other linux

843807Jul 5 2010 — edited Jul 7 2010
Hi All,

I am working on a project,in which it has the requirement of dragging the files
from a JList present inside a JFrame to the desktop.

First I tried to get a solution using dnd API but could not. Then i googled and i got an application which is
working perfectly in both Windows and MAC Operating systems, after I made few minor changes to suit my requirements.
Below is the URL of that application:

http://stackoverflow.com/questions/1204580/swing-application-drag-drop-to-the-desktop-folder


The problem is the same application when I executed on Ubuntu, its not working at all. I tried all available options but could not trace out the exact reason.

Can anybody help me to overcome this issue?

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2010
Added on Jul 5 2010
9 comments
374 views