me.legrange.console.test Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-animation Show documentation
Show all versions of console-animation Show documentation
A small console animation library
The newest version!
package me.legrange.console;
import java.util.Random;
public class test {
public static void main(String[] args) {
var random = new Random();
try (var ani = Animation.create(0,10000)
.text("📀Verifying SQL Tables [")
.progressBar(BarStyle.SHADED4, 60).text("] ")
.counter()
.text(" ")
.spinner(SpinnerStyle.BRAILLE)
.text(" ")
.percent()) {
for (var i = 0; i < 10000; i=i+1) {
Thread.sleep(1);
ani.update(i);
}
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy