title: Java dialog loop bar
body: <p>I have a java program that uploads a tiny text file to a ftp server. Sometimes the upload can take up to 30 seconds because the server is very slow, which is a long time for the program to be idle. I want to know if there is a kind of "loop progress bar" (a progress bar kinda like when the windows is loading) to display while the user is waiting for the upload to finish.<br>
  A normal progress bar is out of the question. What I want is a "loop progress bar" if you can understand what i mean by it. Thank you<br>
  <strong>Note:</strong> What I want is kind like this image<img src="https://i.stack.imgur.com/3kPfd.png" alt="loop progress bar"></p>