new JProgressBar(int orient, int min, int max)
import javax.swing.JProgressBar;
public class Main {
public static void main(String[] argv) throws Exception {
int minimum = 0;
int maximum = 100;
JProgressBar progress = new JProgressBar(JProgressBar.VERTICAL, minimum, maximum);
}
}
Related examples in the same category