aspose file tools*
The moose likes Beginning Java and the fly likes Copy to RAM memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Copy to RAM memory" Watch "Copy to RAM memory" New topic
Author

Copy to RAM memory

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
Hi there,

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)

thanks
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
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: http://aspose.com/file-tools
 
subject: Copy to RAM memory
 
Similar Threads
Exception in Main
about Devaka's simulator
Need to restrict ctrl+c, ctrl+v, ctrl+x
special chars generated during paste/copy
Able to Copy Text from Text Boxes(JTextfields) in Linux/Solaris