Download images in an SWT Mozilla browser [message #1658944] |
Sun, 08 March 2015 15:47 |
Johan Lundquist Messages: 1 Registered: March 2015 |
Junior Member |
|
|
Hi,
I have a web-application where an image is generated in Javascript on the client side by converting a canvas to a png using canvas.toDataURL("image/png"). The image can then be saved to disk in any browser by using the right click context menu.
Now I want to use this application with the SWT browser widget.
When using the native renderer (SWT.NONE) I get the standard IE right click context menu with an option to save the image I'm clicking on.
I however want to use the browser with XULRunner (SWT.MOZILLA), and the right click context menu does not seem to be implemented by default in that one.
Any ideas or suggestions how do I go about to save the image to disk in this case?
|
|
|
Powered by
FUDForum. Page generated in 0.02210 seconds