views:

1099

answers:

1

Couldn't find anything on this with a Google Search.

Does anyone know how to copy some text to the clipboard through GWT Java code? I'd like to avoid the raw javascript injection solution.

Any help or pointers appreciated.

+2  A: 

For the moment it doesn't seem like there are any GWT libraries that provide this functionality. In any case, it's impossible to support this in all browsers as Flash is needed. A rather nice library than wraps the functionality is ZeroClipboard.

Alexander Kellett

related questions