wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes Drag and Drop in JTextPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Drag and Drop in JTextPane" Watch "Drag and Drop in JTextPane" New topic

Drag and Drop in JTextPane

Rohit Bhagwat
Ranch Hand

Joined: Dec 19, 2004
Posts: 205
Hello friends, sir, madam

I am trying to perform drag and drop operations using java.awt.dnd package. In my case my drag source is JTextPane. When I select some text in the JTextPane and try to drag it, the selection disappears as when I click the selected text to drag it,the selection has gone. Can anyone please help as to how should I perform the drag operation from JTextPane using java.awt.dnd package ?

Please help !!
Waiting for your replies

Thanks and Regards
I agree. Here's the link: http://aspose.com/file-tools
subject: Drag and Drop in JTextPane
Similar Threads
Drag and Drop ....and move again ?
Drag and drop in JTextPane
Drag and drop is only in java.awt.dnd?
dragging Jlabel
dhtml movers ?