Skip to content

Commit

Permalink
Initialize the UI on the AWT thread to avoid synchronization issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tibagni committed May 4, 2024
1 parent 724a6b6 commit 20cd10a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static void main(String[] args) {
.collect(Collectors.toSet());

LogViewerApplication application = new LogViewerApplication();
application.start(initialLogFiles);
SwingUtilities.invokeLater(() -> application.start(initialLogFiles));
}

private static void configureUncaughtExceptionHandler() {
Expand Down

0 comments on commit 20cd10a

Please sign in to comment.