You can do something like this:
Image tgtImage = new Image("loading.gif");
panel.add(tgtImage);
The code above will show up a "Loading..." image.
Image finalImage = new Image("huge-image.png");
finalImage.addLoadListener(new LoadListener() {
...
onLoad(Widget w) {
panel.remove(tgtImage)
I have images which are big in size so i would like to display the
animated loading gif while the main images are actually being loaded
and once they have been loaded then display the actual image. How can
i do the same?
--
You received this message because you are subscribed to the Google Groups