public class Launcher
extends javafx.application.Application
| Constructor and Description |
|---|
Launcher() |
| Modifier and Type | Method and Description |
|---|---|
static FXManifest |
checkForUpdate()
Check if a new version is available and return the manifest for the new version or null if no update.
|
void |
init()
Initialize the UI Provider by looking for an UIProvider inside the launcher
or fallback to the default UI.
|
static void |
main(String[] args) |
void |
start(javafx.stage.Stage primaryStage) |
void |
stop() |
public static FXManifest checkForUpdate() throws IOException
IOExceptionpublic void init()
throws Exception
A custom implementation must be embedded inside the launcher jar, and /META-INF/services/fxlauncher.UIProvider must point to the new implementation class.
You must do this manually/in your build right around the "embed manifest" step.
init in class javafx.application.ApplicationExceptionpublic void start(javafx.stage.Stage primaryStage)
throws Exception
start in class javafx.application.ApplicationExceptionpublic static void main(String[] args)
Copyright © 2018 SYSE. All rights reserved.