开发者

Java ProgressBar in swing

开发者 https://www.devze.com 2023-03-09 01:46 出处:网络
i have a desktop GUI in swing , i want to 开发者_运维技巧show status of user storage used in the GUI, currently i am using JProgressBar, which is not much attractive, It seems like a simple progress b

i have a desktop GUI in swing , i want to 开发者_运维技巧show status of user storage used in the GUI, currently i am using JProgressBar, which is not much attractive, It seems like a simple progress bar. Please suggest some attractive way to do.


If you are looking for more attractive design. I could suggest you a couple of things:

1-Have a look at javaFX progress bars , you might find something interesting http://download.oracle.com/javafx/1.3/tutorials/UIControls/progress.html

2-If you use the standar progress bar from the java tutorial maybe you could try to edit it yourself. Have a look at this link

Example of self customization:

UIManager.put("ProgressBar.background",Color.BLUE); 
0

精彩评论

暂无评论...
验证码 换一张
取 消