Fix "Getting Started" regression issues

This commit is contained in:
Reinhard Pointner 2016-10-19 01:00:13 +08:00
parent 447fcc8419
commit da7061338d
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public final class ResourceManager {
}
public static List<javafx.scene.image.Image> getApplicationIconsFX() {
return Stream.of("window.icon.large", "window.icon.medium", "window.icon.small").map(r -> new javafx.scene.image.Image(r.toString())).collect(toList());
return Stream.of("window.icon.large", "window.icon.medium", "window.icon.small").map(ResourceManager::getImageResource).map(URL::toString).map(r -> new javafx.scene.image.Image(r)).collect(toList());
}
public static Icon getFlagIcon(String languageCode) {