All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.legrange.console.test Maven / Gradle / Ivy

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