• Welcome to Valhalla Legends Archive.
 

Using the Clipboard

Started by iago, April 01, 2004, 11:30 AM

Previous topic - Next topic

iago

Somebody (I think kp, maybe?  Not sure) was trying to figure out how to use the clipboard in Java, and nobody knew.  I happened to notice the necessary functions in here today:
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Toolkit.html
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


gameschild

Some components also support the copy(), cut() and paste() methods if you wish to add context menu's