title: How can I change the default icon of a java application on a mac using netbeans?
body: <p>I have a java application that will need to be deployed on both windows and mac.  On windows, I've configured the system to use a .png file as the icon for the application, but the mac requires an icns file.  I've created the icns file, but I can't figure out how to set that as the icon to use for the application (in the dock, expose, etc).  I'd also need the PC side to ignore that icon assignment.</p>
  
  <p>How can I do this in netbeans?</p>
  
  <p>EDIT: I added have this line in my build.xml file, as per <a href="http://wiki.netbeans.org/DevFaqExecutableIcon" rel="nofollow">this link</a>:</p>
  
  <pre><code>&lt;property name="app.icon.icns" value="${dist.dir}/Mac64/yellowMac.icns"/&gt;
  </code></pre>
  
  <p>and the yellowMac.icns file is in the same directory as the .jar file, still no joy.</p>