0
這是我在單擊前一幀的按鈕後打開的框架中實現的功能...進度條框架打開容易,但進度不顯示...請幫助我解決這個。如何在前一幀點擊按鈕後在新框架中打開JProgress欄?
public void iterate() {
while (num < 2000) {
current.setValue(num);
try {
Thread.sleep(100);
} catch (InterruptedException e) { }
num += 95;
}
}
你可以看看這個[示例](http://stackoverflow.com/questions/16288303/best-example-for-creating-programmatically-splashscreen-with-text/16289376#16289376) –