Skip to main content

Exception when dragging Applet out of browser

No replies
Joined: 2008-03-13
Points: 0

I have been trying out the cross-domain access feature of the Update 10 plugin, which works fine and I can download images into the Applet directly from Flickr. I have noticed that if I drag the Applet out of the browser before the images have finished downloading though I get the Exception below:

java.lang.SecurityException: Unable to create temporary file
at Source)
at Source)
at Source)
at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown Source)
at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
at Source)
at com.altio.client.ui.ImageManagerImpl$

So I guess that ImageIO is trying to write a local temp file for the image when it has been dragged out of the browser, but even though it is outside of the browser it is still an Applet at that point, and so doesn'y have access to the local drive.