java吧 关注:1,303,843贴子:12,861,115
  • 1回复贴,共1
progressbar = new JProgressBar();
progressbar.setValue(0);
progressbar.setBorderPainted(false);
progressbar.setBackground(Color.white);
progressbar.setBounds(4, 4, 60+this.duration, 10);
这样写,进度条的长度不会根据duration的值变化,为什么?应该怎么改?


1楼2015-03-09 15:06回复
    自己顶顶-。-


    2楼2015-03-09 16:03
    回复