This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Copy Text By mouse Event

 
Rohan Kalbhor
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
Suppose i am working on any editor,say for example notepad
and i have a text area on my frame
suppose i have to copy the text from the editor to my frame's text area
just by ....i select the text on the editor by dragging the mouse cursor
on it.as soon as i release the cursor over the editor the selected text is
automatically copied into my text area.
in short.....select and directly paste event


Thanks in Advance
Rohan Kalbhor
 
Campbell Ritchie
Sheriff
Pie
Posts: 47293
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could never get them to work, but there are several examples of "drag and drop" in the Java Tutorial. Are those any help?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic