diff --git a/test/org/jetuml/JavaFXLoader.java b/test/org/jetuml/JavaFXLoader.java index dc79be32a..9df5e1967 100644 --- a/test/org/jetuml/JavaFXLoader.java +++ b/test/org/jetuml/JavaFXLoader.java @@ -20,6 +20,7 @@ *******************************************************************************/ package org.jetuml; +import javafx.application.Platform; import javafx.embed.swing.JFXPanel; /** @@ -33,5 +34,9 @@ public final class JavaFXLoader private JavaFXLoader() {} - public static void load() {} + public static void load() { + // This prevents the JavaFX Application Thread from exiting after the execution of the + // first test file using it. + Platform.setImplicitExit(false); + } }