For a training project I have to use the Google Web Toolkit to create a small app. The app visualizes a dataset either in a table or a map, both can be loaded into a VerticalPanel (which I called mainPanel) and are themselves VerticalPanels.
Now the user should be able to get the visualization as an image and save it to his HDD. In order to achieve this, I want to screenshot the content of the mainPanel.
Is this possible? I've read about HTML5 canvas but this seems to only work in Firefox and only locally. There must be a way to save the content of a widget as an image, otherwise it wouldn't have gotten the task, but I just can't figure out how.
Thank you so much