mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-06-09 23:29:37 +00:00
17 lines
356 B
Java
17 lines
356 B
Java
package jace;
|
|
|
|
import org.junit.BeforeClass;
|
|
|
|
import javafx.application.Platform;
|
|
|
|
public abstract class AbstractFXTest {
|
|
public static boolean fxInitialized = false;
|
|
@BeforeClass
|
|
public static void initJfxRuntime() {
|
|
if (!fxInitialized) {
|
|
fxInitialized = true;
|
|
Platform.startup(() -> {});
|
|
}
|
|
}
|
|
}
|