how to copy data to clipboard

Hello everone,I am developing a Swing application, and I want to copy data from lets say from a jTextField to the clipboard when the end user clicks on a jButton "Copy". can any one guide me how to achieve this, by giving me a tutorial/article to read?Thanks in advance..
[292 byte] By [Radi0Shacka] at [2007-11-26 22:48:20]
# 1
Here's a good place to start: http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html
uncle_alicea at 2007-7-10 12:08:02 > top of Java-index,Desktop,Core GUI APIs...
# 2

The editor kit already provided default Actions for cut, copy, paste that you can use. Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html]Text Component Features[/url] for a working example that shows you how to build an menu using these Actions.

camickra at 2007-7-10 12:08:02 > top of Java-index,Desktop,Core GUI APIs...