This is the function I am implementing in the frame that opens up after clicking the button on a previous frame... The frame for the progress bar opens up easily, but the progress is not shown... please, help me solve this.
public void iterate() {
while (num < 2000) {
current.setValue(num);
try {
Thread.sleep(100);
} catch (InterruptedException e) { }
num += 95;
}
}