In my Wicket application I have a few lines of code that take some time to execute. It would be nice, if I could show a loading icon or popup, during the time the logic is being excecuted. The problem is that I have no idea how to implement something like this. Can someone help me with this?
And the Goal is
Class.java
// Show popup or icon
this.getData();
// Hide popup