A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Copy to RAM memory
Joined: Sep 10, 2004
May 07, 2005 13:35:00
I have a JtextField and a button (COPY). The button suppose to copy the info in the jtextfield so next time the user will press ctrl-v (paste) the info will paste there.
how can i Implement it with a button (regardless of the option where the user can press ctrl-c)
Joined: Jan 29, 2003
May 07, 2005 19:36:00
Look for Clipboard in the JavaDoc. I think it will do what you need.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Copy to RAM memory
about Devaka's simulator
Able to Copy Text from Text Boxes(JTextfields) in Linux/Solaris
Exception in Main
Need to restrict ctrl+c, ctrl+v, ctrl+x
special chars generated during paste/copy
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015