In my app i have some interactive widgets but while loading data from server this widgets must be inactivated and activated again after loading is complete. i don’t want to make the widgets invisible or inactivate every single field/button.
the best solution would be a transparent panel with an loading image in its center or corner overlaying the widgets while loading – but how to achieve that?
In my app i have some interactive widgets but while loading data from server
Share
Here is some simple code to start with. I have used it in some application but it was with GWT 2.0, maybe they got something better now. You could probably replace the Label with an animated Gif image and simply add the panel to the root panel should do the trick.
CSS: