
org.intellimate.izou.system.javafx.JavaFXInitializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of izou Show documentation
Show all versions of izou Show documentation
Izou is a framework used for an addon-based personal assistant
The newest version!
package org.intellimate.izou.system.javafx;
import org.intellimate.izou.main.Main;
import javafx.application.Application;
import javafx.stage.Stage;
/**
* Class to init JavaFX ToolKit - should be ignored
*/
public class JavaFXInitializer extends Application {
/**
* No param constructor needed by {@link javafx.application.Application}
*/
public JavaFXInitializer() {
}
/**
* Initializes JavaFX by starting the JavaFX ToolKit
*/
public static void initToolKit() {
Thread t = new Thread(Application::launch);
t.start();
}
@Override
public void start(Stage primaryStage) throws Exception {
Main.jfxToolKitInit.set(true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy