How do I profile the EDT in Swing?

后端 未结 3 459
隐瞒了意图╮
隐瞒了意图╮ 2021-02-01 11:31

I have an application that I\'m building in Swing. It has a scrollable and zoomable chart component which I can pan and zoom in. The whole thing is smooth except that sometime

3条回答
  •  故里飘歌
    2021-02-01 11:48

    Make sure you are running only GUI related operations in EDT and there are no long running tasks in EDT. There is one awesome tool called SwingExplorer it has one feature to monitor EDT operations. Hope this will help.

提交回复
热议问题