// URLImageSource
imageProducer= (ImageProducer)
AccessController.doPrivileged( new PrivilegedAction() {
public Object run() {
if(bytes != null)
return new ByteArrayImageSource(bytes, 0, bytes.length);
else
return new URLImageSource(url);
}});
object = imageProducer;
}