本文介绍了使用进度栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复: 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
更多推荐
使用进度栏
发布评论