You can simply inherit ProgressBar to overwrite method "generateText". This method is used to generated text for shown on progress bar. The progress value can be set dynamically by method "setProgress".
You have to set progress bar to be invisible or remove it from parent if you don't want your user to see it after complete. Best Kevin On Tue, Dec 16, 2008 at 8:42 AM, Suri <[email protected]> wrote: > > Hi all, > I'd like some help on how to use the ProgressBar from the incubator. > I saw the 2 lines of code in the incubator documentation and tried to > undestand some of the API. I guess my confusion is the design. I > currently have a GWT module that takes a while to load up. > > 1) How (if at all?) can i go about figuring out how much % or atleast > figure out if the module has loaded completely and so how would I > change this value dynamically on the progress bar? > > 2) Once the load is complete, do i remove the widget or set its > visibility to false? > > Thanks > Suri > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
