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.

Bug 100788 - Method setText is deleted after some set of steps
Summary: Method setText is deleted after some set of steps
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 14:54 UTC by Jana Maleckova
Modified: 2007-05-18 14:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-04-12 14:54:29 UTC
NetBeans IDE Dev (Build 200704111800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
============
prerequisites: JDA - resource management is set as All resources

1. insert two labels
2. set text property of the second label as jlabel2.setText(jLabel1.getText())
- invoke text property editor of jlabel2, switch to "get value from existing
component", select Property button and set jLabel1.text and confirm it.
3. text of jLabel2 is updated in design. Then try to change it's text directly
in design (select label and press space keyboard button)
See in jlabel2's text property there is filled value [ResourceValueImpl] and in
source code, there is no method which set some text to label in runtime.
Comment 1 Tomas Pavek 2007-05-16 04:25:40 UTC
Fixed.

/cvs/form/src/org/netbeans/modules/form/RADComponent.java
new revision: 1.166; previous revision: 1.165

/cvs/form/src/org/netbeans/modules/form/ResourceSupport.java
new revision: 1.3; previous revision: 1.2
Comment 2 Jana Maleckova 2007-05-18 14:51:46 UTC
verified on

NetBeans IDE Dev (Build 200705161800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252