使用进度栏 [英] Working with progressbar
本文介绍了使用进度栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
java中不错的进度条
Possible Duplicate:
Nice looking progress bar in java
我使用setBackground
和setForeground
设置JProgressBar
的颜色,但是它们不起作用,颜色保持为橙色.我无法更改.
I use setBackground
and setForeground
to set the color of a JProgressBar
but they didn't work, the color remain Orange. I can't change it.
推荐答案
这可能是由于您安装的外观所致.这是否有帮助: change-colors-for-jprogressbar-with-nimbus
It's likely due to your installed look-and-feel. Does this help: change-colors-for-jprogressbar-with-nimbus
这篇关于使用进度栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文