You are probably testing your app in hosted mode(with a local DB) - it's pretty fast - that's why you don't see the animation. Later, when you are going to work over the internet, latency time will play a big role, and you will have plenty of time to enjoy you animated gif ;-)
On 10 Sep., 08:44, 0ne_Up <[EMAIL PROTECTED]> wrote: > OK, but how is it done, I've seen plenty of GWT applications where > they have a loading icon while querying a database > > On 5 sep, 19:58, "Isaac Truett" <[EMAIL PROTECTED]> wrote: > > > 1. GWT doesn't execute database queries. Your server does that. > > 2. GWT doesn't animate GIFs. Your browser does that. > > > Your animation probably stops while GWT is busy sending your request > > or parsing the response. That's because the browser is > > single-threaded. Now if someone would just write a really slick > > multi-threaded web browser... > > > On Fri, Sep 5, 2008 at 5:37 AM, 0ne_Up <[EMAIL PROTECTED]> wrote: > > > > hi, > > > I am currently working on a gwt application that involves database > > > queries, > > > and i have a window with a kind of hourglass thing in it that shows up > > > when the user clicks a button that starts the query, and obviously it > > > dissappears when the query is complete. > > > now the problem is that when the query is being executed the hourglass > > > does not animate (it's an animated gif file). > > > GWT seems to give a higher priority to executing the query than > > > playing the animated gif even though the code that calls it is above > > > the code that executes the query. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
