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.
[ JDK VERSION : 1.5.0_05 ] How you can read on http://developer.apple.com/ documentation/Cocoa/Conceptual/Sheets/Concepts/ AlertBadging.html Mac OS X only supports two types of alert dialogs: * A standard alert with an application icon * A caution alert with the caution icon and little application icon But the implemention of in the Java VM fulfilled that not. The implemention show the symbols like http://java.sun.com/docs/ books/tutorial/uiswing/components/dialog.html#features only in a Mac OS X version. The functionality is easy to implement. Because of the netbeans plattform we always have a application icon we can use. So i use in the frist patch version org/netbeans/core/startup/ frame48.gif to get the netbeans plattform application icon. Scal it and use it for errorIcon, informationIcon and questionIcon. Also produce caution icon for warningIcon. The secound version of the patch get the application icon from the Mac OS X Dock. I always wonder why apple don't do it this way... To use this, /System/Library/Java must be in the classpath, btw the technics based on Apple Application Menu (ide/applemenu) ApplePopupFactory.java.
Created attachment 27317 [details] patch of core/swing/plaf/src/org/netbeans/swing/plaf/aqua/AquaLFCustoms.java
Created attachment 27318 [details] patch of core/swing/plaf/src/org/netbeans/swing/plaf/aqua/AquaLFCustoms.java
Umm, sorry for not paying attention to your patches earlier, too much issues. Passing to saubrecht to try on Mac if patches are still applicable and working, thanks. But wait, is it OK to override JDK impl in such way, wouldn't it be better to file bug against Apple JDK impl also?
JDK should provide correct icons - closing