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.
Product Version: NetBeans IDE Dev (Build 200707012149) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ have JDA project 1. insert e.g. two buttons in mainPanel 2. bind text property of button1 to button2 -> invoke contextual menu on button2 -> bind -> text -> string 3. do reload form (ctrl+shift+r) button2 losts text in design but only here because text property contains bounded text in property sheet and when application is run, button2 has correct text as well.
Product Version: NetBeans IDE Dev (Build 070725) 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) Description: ============ now this issue happens after these steps have JDA project 1. insert e.g. two buttons in mainPanel 2. bind text property of button1 to button2 -> invoke contextual menu on button2 -> bind -> text -> string 3. change text property of jButton2 manually in property sheet 4. do reload form (ctrl+shift+r) buttons lost text in design and in runtime as well
The root of the problem is that the text of button2 is set in two ways - via binding property and via normal property. We should destroy the binding or/and warn the user when some normal property is modified when the corresponding binding property is set.