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.
[NetBeans IDE Dev (Build 061220)] FormLAF removed keys to standard properties in UIDefaults like TextField.background, ScrollBar.darkShadow, etc. How to reproduce: 1. start IDE with fresh userdir 2. Open Options Dialog|Advance Options and select some node w/ color property, open Swing Palette and check available colors 3. create a new one Form, left the newone form open 4. Restartselect some color property and open ColorEditor. Compare Swing Palette with Color Palette, now the Swing Palette contains a few NB specific properties.
Ad 4. Restart IDE 5. Select some color property and open ColorEditor. Compare Swing Palette with Color Palette, now the Swing Palette contains a few NB specific properties. This issue makes problem also with storing colors from palette in .form file, see issue 90728.
We need to fix this for 6.0.
We didn't remove the mentioned keys from UIDefaults. The problem was that ColorEditor used keys() method of UIDefaults to iterate through keys in UIDefaults, but our delegating UIDefaults didn't have this method implemented correctly. It has been fixed. Modified file: /cvs/form/src/org/netbeans/modules/form/FormLAF.java new revision: 1.24; previous revision: 1.23