diff --git a/src/main/java/com/tibagni/logviewer/LogViewerApplication.java b/src/main/java/com/tibagni/logviewer/LogViewerApplication.java index 0d1b66e..48ece50 100644 --- a/src/main/java/com/tibagni/logviewer/LogViewerApplication.java +++ b/src/main/java/com/tibagni/logviewer/LogViewerApplication.java @@ -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() {