This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
more details here: http://forums.netbeans.org/viewtopic.php?p=137614 seems that the Netbeans app contents script used to launch this app is not setting the X-dock icon correctly. or, the icon file is not placed in the right location. notice this code in the startup script: "/Applications/NetBeans/NetBeans 7.2.1.app/Contents/Resources/NetBeans/bin/netbeans" Code: case "`uname`" in Darwin*) eval launchNbexec \ --jdkhome '"$netbeans_jdkhome"' \ -J-Dcom.apple.mrj.application.apple.menu.about.name=NetBeans \ -J-Xdock:name=NetBeans \ '"-J-Xdock:icon=$progdir/../nb/netbeans.icns"' \ --branding nb \ --clusters '"$netbeans_clusters"' \ -J-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade \ -J-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense \ ${netbeans_default_options} \ '"$@"' ;; *) eval launchNbexec \ --jdkhome '"$netbeans_jdkhome"' \ --branding nb \ --clusters '"$netbeans_clusters"' \ -J-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade \ -J-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense \ ${netbeans_default_options} \ '"$@"' ;; esac notice the line -J-Xdock:icon=$progdir/../nb/netbeans.icns" the image is not in that location. it is located in: "/Applications/NetBeans/NetBeans 7.2.1.app/Contents/Resources/netbeans.icns" I copied that image over to: "/Applications/NetBeans/NetBeans 7.2.1.app/Contents/Resources/nb/" and it now works correctly. i got this info via http://alvinalexander.com/apple/mac/java-mac-native-look/dock_icon.shtml maybe this should be changed in netbeans? hope it helps someone out. it was bugging me.
I thinks it's not valid any more. The launcher has been quite changed since this report. The significant line: '"-J-Xdock:icon=$basedir/nb/netbeans.icns"' $basedir/nb/netbeans.icns is now valid path.