Browse Source

REPORT-85960 起始页,点击最近打开的fvs模板,模板打开失败

release/11.0
John.Ying 2 years ago
parent
commit
7d1591436a
  1. 2
      designer-base/src/main/java/com/fr/design/carton/EventDispatchThreadHangMonitor.java

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

@ -314,7 +314,7 @@ public final class EventDispatchThreadHangMonitor extends EventQueue {
* 将swing中默认的EventQueue换成自己的 * 将swing中默认的EventQueue换成自己的
*/ */
public static void initMonitoring() { public static void initMonitoring() {
Toolkit.getDefaultToolkit().getSystemEventQueue().push(INSTANCE); SwingUtilities.invokeLater(() -> Toolkit.getDefaultToolkit().getSystemEventQueue().push(INSTANCE));
} }
/** /**

Loading…
Cancel
Save