I have a Java application that will need to be deployed on both windows and mac. On Windows, I configured the system to use the .png file as an icon for the application, but for the Mac, the icns file is required. I created the icns file, but I cannot figure out how to set it as an icon for the application (in the dock, export, etc.). I also need the PC side to ignore this icon assignment.
How can I do this in netbeans?
EDIT: I added this line to my build.xml file, according to this link :
<property name="app.icon.icns" value="${dist.dir}/Mac64/yellowMac.icns"/>
and the yellowMac.icns file is in the same directory as the .jar file, but not happy.
source
share