changeset 7712:323fe1d9f2b8

[TOYS ONLY] Fix bad image file reference in HelloDialogs sample code which was refactored incorrectly yesterday.
author jgiles
date Tue, 19 Aug 2014 12:50:52 +1200
parents c3a8124d5cd6
children 7c9dd9130dac
files apps/toys/Hello/src/main/java/hello/dialog/dialogs/FontSelectorDialog.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/apps/toys/Hello/src/main/java/hello/dialog/dialogs/FontSelectorDialog.java	Tue Aug 19 12:50:40 2014 +1200
+++ b/apps/toys/Hello/src/main/java/hello/dialog/dialogs/FontSelectorDialog.java	Tue Aug 19 12:50:52 2014 +1200
@@ -79,7 +79,7 @@
         dialogPane.setHeaderText("Select font");
 
         // FIXME extract to CSS
-        dialogPane.setGraphic(new ImageView(new Image(AccordionSkin.class.getResource("modena/hello.dialog-confirm.png").toExternalForm())));
+        dialogPane.setGraphic(new ImageView(new Image(AccordionSkin.class.getResource("modena/dialog-confirm.png").toExternalForm())));
         dialogPane.getButtonTypes().addAll(ButtonType.OK, ButtonType.CANCEL);
         dialogPane.setContent(fontPanel);
     }