A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
String to Clipboard
Joined: May 15, 2003
May 23, 2003 01:07:00
How do U copy a
to the clipboard. Allowing a user to paste the copied String, into the notepad for example, with the combination of ctrl+v.
Joined: Mar 02, 2003
May 23, 2003 12:10:00
you can write the string to a file, if that is OK.
Joined: May 24, 2002
May 23, 2003 12:57:00
I didn't know this until a few minutes ago, but there's a standard
class offered by Sun. Maybe this is what you're looking for.
Tom Purl<br />SCJP 1.4
Joined: Jan 29, 2003
May 23, 2003 13:34:00
Clipboard oughtta do it. Here's a rather more advanced example enabling
cut & paste
and a Swing table.
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: String to Clipboard
Need help exporting to clipboard
Passing double quotes to main()
Clearing clipboard from java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014