Skip to content

Instantly share code, notes, and snippets.

@johnistan
Created October 12, 2012 00:19
Show Gist options
  • Save johnistan/3876583 to your computer and use it in GitHub Desktop.
Save johnistan/3876583 to your computer and use it in GitHub Desktop.
GWT onPaste function
public void onPaste(String newImageData ){
Log.debug("paste in java!!!!");
Image newImageWidget = new Image();
newImageWidget.setVisible(true);
newImageWidget.setUrl(newImageData);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment