I am having issues replacing the default icon that is used for the native installer. I referred to this guide: http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm#BCGICFDB
Using the latest stable v. of JavaFX and NetBeans. The tutorial only had sample instructions for Mac OSX, but I assume they are similar to Windows. What I did was create 2 directories inside my projects root folder (given that my project is called test ) and place an .ico file: test\package\windows\test.ico
When I dist build the project I get the following message: +Using default package resource [application icon] (add package/windows/test.ico to the class path to customize)+
Does this work for anyone? Any idea where the error might be in my case?
I have it working for PC and MAC, willing to answer any questions.
The issue here is that the path to your root project (test in this case) is not in the path for ANT. It's weird, I know.
You need to add that path to the default ant classpath under Netbean's options (first panel of the Java options screen).
Thank you kindly for you reply.
Hmm, right on the tutorial page it is stated:
*"_If you created a JavaFX project using Netbeans 7.2 or later, then the JavaFX Ant tasks are predefined, and "." is already added to the classpath by default._"*
Is this an error in the tutorial then? Indeed quite odd in that case. What you're currently referring to is this:
LOL too funny - just now i was trying to figure out why MY icons weren't being used. I just installed saome new ones.
Anyway, its cause I shifted to Netbeans 7.3 Beta 2 and forgot to add the path myself!