title: Progress indicator in Java
body: <p>I am having a Jasper report where I am exporting it into PDF using the Java code. My java application is in Swing. I need the Java application to display 'Please wait' message while the work is report is properly exported.</p>
  
  <p>I can remember I did this sometime back with just 4 lines of code, I can't remember what they are now. What I managed to do was display a small note in the screen which says "Please Wait" and which disappears as soon as the work is done. As far I can remember, it is a built in Swing functionality.</p>