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 070131) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 Description: ============ 1. have JDA - basic 2. create new JFrame in some new package 3. check if Automatic Resource Management is set as "All Resources" 4. insert e.g. jButton 5. invoke custom editor for icon 6. Import to Project your external icon and press OK (use default offer, just confirm settings) See, key value for icon has wrong value and if OK is pressed, an exception occurs and then nothing happened. Resources were not generated and it seems to be the problem. But when e.g. text property of component is changed, resources are generated and then it is not problem to import external icon StackTrace: =========== java.beans.PropertyVetoException: Invalid resource value at org.netbeans.modules.form.ResourceWrapperEditor.vetoableChange(ResourceWrapperEditor.java:241) at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:335) at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSupport.java:252)
Created attachment 37917 [details] 93794
no it's not possible to add icon neither from external sources nor from other project packages. Always above described exception occurs
Fixed. /cvs/form/swingapp/src/org/netbeans/modules/swingapp/ResourcePanelImpl.java new revision: 1.3; previous revision: 1.2
verified on Product Version: NetBeans IDE Dev (Build 070811) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)