Commits

shemnon committed e7137e7

Windows and runability fixes

  • Participants
  • Parent commits 3887373

Comments (0)

Files changed (2)

samples/FullyExpressed/build.gradle

     compile 'org.jfxtras:jfxtras-labs:2.2-r4'
 }
 
+group = 'com.bitbucket.shemnon.javafxplugin.samples'
+version = '0.0.0.0'
+
 javafx {
 
     debugKey {
 
     appID 'FullyExpressed'
     appName 'Fully Expressed Build File'
-    mainClass 'TheMain'
-
-    packaging 'installer'
-
+    mainClass 'org.bitbucket.shemnon.jfx.sample.fullyexpressed.TheMain'
 
     jvmArgs = ['-XX:+AggressiveOpts', '-XX:CompileThreshold=1']
     systemProperties = [ 'prism.disableRegionCaching':'true' ]
         height = 256
         scale = 1
     }
+    icon {
+        href = "$buildDir/resources/package/shortcut-32.png"
+        kind = 'setup-icon'
+        width = 32
+        height = 32
+        scale = 1
+    }
 }

samples/FullyExpressed/src/main/java/org/bitbucket/shemnon/jfx/sample/fullyexpressed/TheMain.java

     @Override
     public void start(Stage stage) throws Exception {
         FXMLLoader fxmlLoader = new FXMLLoader();
-        fxmlLoader.setResources(ResourceBundle.getBundle("org.bitbucket.shemnon.jfx.sample.fullyexpressed.TheResources"));
+        fxmlLoader.setResources(ResourceBundle.getBundle("org.bitbucket.shemnon.jfx.sample.fullyexpressed.theResources"));
         StackPane pane = (StackPane) fxmlLoader.load(this.getClass().getResource("theScene.fxml").openStream());
 
         ((VBox) fxmlLoader.getNamespace().get("VBox")).getChildren().add(