SwingWorker, update gui without calling repaint

一笑奈何 提交于 2020-01-17 15:27:32

问题


Im trying to use the SwingWorker to update my gui without calling repaint().

The program compiles but isn't responsive to the updates of the SwingWorker as I thought, unless I call repaint(). Can the Swingworker can do this without calling repaint()?

Eventually I want the gui to be continuous like an animation

来源:https://stackoverflow.com/questions/7930606/swingworker-update-gui-without-calling-repaint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!