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
Some components also support the copy(), cut() and paste() methods if you wish to add context menu's