Show `Please install JavaFX` error popup on startup if JavaFX is not installed
This commit is contained in:
parent
42459b5c45
commit
f7a69ab559
|
@ -146,7 +146,7 @@ public class Main {
|
||||||
try {
|
try {
|
||||||
initJavaFX();
|
initJavaFX();
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
debug.log(Level.WARNING, "Failed to initialize JavaFX", e);
|
log.log(Level.SEVERE, "Failed to initialize JavaFX. Please install JavaFX.", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if application help should be shown
|
// check if application help should be shown
|
||||||
|
|
Loading…
Reference in New Issue