2013年6月18日

摘要: JProgressBar 的关键在于 setMaxium(int maxValue) 和 setValue(int progressValue); 当ProgressBar的当前值需要Controller来提供时,遵照MVC结构的编码原则,我们不能向Controller传ProgressBar,所以不能在Controller中的逻辑过程中直接setValue,所以这时就需要Timer来为ProgressBar来setValue。 Timer就像一个定时作业代理,每隔固定delay就向Controller询问一次进度值progressValue并为ProgressBarsetValue(... 阅读全文

posted @ 2013-06-18 15:08 JasmineLiu 阅读(825) 评论(0) 推荐(0)

摘要: http://designmodo.com/ 阅读全文

posted @ 2013-06-18 11:30 JasmineLiu 阅读(176) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3