Show `Please install JavaFX` error popup on startup if JavaFX is not installed

This commit is contained in:
Reinhard Pointner 2016-10-10 14:05:00 +08:00
parent 42459b5c45
commit f7a69ab559
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ public class Main {
try {
initJavaFX();
} 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