<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Progress-Bar on Micha Kops&#39; Tech Notes</title>
    <link>https://www.hascode.com/tags/progress-bar/</link>
    <description>Recent content in Progress-Bar on Micha Kops&#39; Tech Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright © 2010 - 2025 Micha Kops. #c7fce1a48044fee97f19975844b0983837a8dc96</copyright>
    <lastBuildDate>Sun, 31 Mar 2019 00:00:00 +0100</lastBuildDate>
    <atom:link href="https://www.hascode.com/tags/progress-bar/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Terminal Based Progress Bar for Java Applications</title>
      <link>https://www.hascode.com/terminal-based-progress-bar-for-java-applications/</link>
      <pubDate>Sun, 31 Mar 2019 00:00:00 +0100</pubDate>
      <guid>https://www.hascode.com/terminal-based-progress-bar-for-java-applications/</guid>
      <description>&lt;div id=&#34;preamble&#34;&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Recently I needed to add a progress bar to a Java based terminal/console application and I used a specific library that I’d like to demonstrate in the following snippet.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;imageblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;img src=&#34;terminal-progress-bar-1024x774.png&#34; alt=&#34;Terminal based Progress Bar for Java&#34; width=&#34;614&#34; height=&#34;464&#34;/&gt;
&lt;/div&gt;
&lt;div class=&#34;title&#34;&gt;Figure 1. Terminal based Progress Bar for Java&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_dependencies&#34;&gt;Dependencies&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;Using Maven, we just need to add the following dependency:&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;title&#34;&gt;pom.xml&lt;/div&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-xml&#34; data-lang=&#34;xml&#34;&gt;&amp;lt;dependency&amp;gt;
  &amp;lt;groupId&amp;gt;me.tongfei&amp;lt;/groupId&amp;gt;
  &amp;lt;artifactId&amp;gt;progressbar&amp;lt;/artifactId&amp;gt;
  &amp;lt;version&amp;gt;0.7.3&amp;lt;/version&amp;gt;
&amp;lt;/dependency&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_sample_application&#34;&gt;Sample Application&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;The application shows how to set up the progress bar and how to advance its status by-one, by a given amount or to a specific number.&lt;/p&gt;
&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
