My original question still holds, but I just realized that prefetch
only starts the process... it doesn't give any guarantees on its
completion.  I've setup my own prefetch w/ notification so that I can
guarantee the images have loaded or failed before displaying the
applet.

On Jul 23, 10:02 am, Benjii <benjii.man.sm...@gmail.com> wrote:
> Hi all,
>
> I'm trying to avoid visible loading while my applet is displayed. I
> have a "please wait" screen in place, and pre-fetch my images.
>
> My question is about ImageBundle. I can see the images loading onto
> button faces, so I'm guessing there is no prefetch occurring behind
> the scenes. I've added the following code which works:
>
> Image.prefetch(imageBundle.someImage().createImage().getUrl())
>
> .. but this leaves a bad taste in my mouth :)  Is there a better way?
>
> thanks!
>
> Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to