Search in sources :

Example 1 with FxApplication

use of org.cryptomator.ui.fxapp.FxApplication in project cryptomator by cryptomator.

the class FxApplicationStarter method start.

private void start() {
    executor.submit(() -> {
        LOG.debug("Starting JavaFX runtime...");
        Platform.startup(() -> {
            assert Platform.isFxApplicationThread();
            LOG.info("JavaFX Runtime started.");
            FxApplication app = fxAppComponent.get().application();
            app.start();
            future.complete(app);
        });
    });
}
Also used : FxApplication(org.cryptomator.ui.fxapp.FxApplication)

Aggregations

FxApplication (org.cryptomator.ui.fxapp.FxApplication)1