Browse Source

Pull request #10828: REPORT-85960 起始页,点击最近打开的fvs模板,模板打开失败

Merge in DESIGN/design from ~JOHN.YING/design:release/11.0 to release/11.0

* commit 'a687873a777e4bf176f870b6670f7bc3aad1ffdd':
  REPORT-85960 起始页,点击最近打开的fvs模板,模板打开失败--更改一下工具类
  REPORT-85960 起始页,点击最近打开的fvs模板,模板打开失败
release/11.0
John.Ying-应志浩 2 years ago
parent
commit
fc52ade666
  1. 3
      designer-base/src/main/java/com/fr/design/carton/EventDispatchThreadHangMonitor.java

3
designer-base/src/main/java/com/fr/design/carton/EventDispatchThreadHangMonitor.java

@ -1,6 +1,7 @@
package com.fr.design.carton;
import com.fr.concurrent.FineExecutors;
import com.fr.design.ui.util.UIUtil;
import com.fr.json.JSONObject;
import com.fr.log.FineLoggerFactory;
import com.fr.stable.ArrayUtils;
@ -314,7 +315,7 @@ public final class EventDispatchThreadHangMonitor extends EventQueue {
* 将swing中默认的EventQueue换成自己的
*/
public static void initMonitoring() {
Toolkit.getDefaultToolkit().getSystemEventQueue().push(INSTANCE);
UIUtil.invokeLaterIfNeeded(() -> Toolkit.getDefaultToolkit().getSystemEventQueue().push(INSTANCE));
}
/**

Loading…
Cancel
Save