10
I wrote a Java application that copies a string to the system clipboard. The constructor uses
Clipboard.setContents(Transferable contents, ClipboardOwner owner)
http://docs.oracle.com/javase/6/docs/api/java/awt/datatransfer/Clipboard.html
I got it working fine but I am not sure what the ClipboardOwner does? Looking at the Java api does not really tell much info.
http://docs.oracle.com/javase/6/docs/api/java/awt/datatransfer/ClipboardOwner.html
Oddly enough even passing a ClippboardOwner = null works. So I'm not exactly sure what the point of it is? Does anyone have any idea?