• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Copy Text By mouse Event

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic