Java Glossary : clipboard

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

You are here : home : Java Glossary : C words : clipboard.

clipboard
JDK 1.1 supports primitive control of the clipboard - the invisible chalkboard you use to transfer data between applications (or parts of the same application) with cut and paste. You can access what is in it, and put data into it. It looks more complicated than it really is since you have the data String, a Transferable object to contain it, and the Clipboard object itself. Be thankful! It is three orders of magnitude simpler than the OLE that C++ programmers have to put up with. You don't have to understand the following code to use it. Just clone and tune the following code. One catch. You can't access the clipboard in an unsigned Applet. That is considered too big a security risk. Users can manually cut and paste to your TextAreas though, and you get manipulate them with getText and setText.


view


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 1258.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/clipboard.html J:\mindprod\jgloss\clipboard.html