title: Java: Updating text in the command-line without a new line
body: <p>I'd like to add a progress indicator to a command-line Java program.</p>
  
  <p>For example, if I'm using wget, it shows:</p>
  
  <pre><code>71% [===========================&gt;           ] 358,756,352 51.2M/s  eta 3s
  </code></pre>
  
  <p>Is it possible to have a progress indicator that updates without adding a new line to the bottom?</p>
  
  <p>Thanks.</p>