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 120127

Summary: Customize code does not let remove double quote char
Product: guibuilder Reporter: joaoferr <joaoferr>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description joaoferr 2007-10-26 07:51:29 UTC
Make a frame with a JLabel on it. The default text property is set to "jLabel1"

Actviate the "Customize code" for the JLabel, and changing the line with setText from "default text" to "custom
property". Put the cursor on line before the '1' character, the press the DEL key twice. The first time the 1 is deleted
but then it beeps. 

    jLabel1.setText("jLabel");
                           ^

If you delete from the start (i.e from the left double quote char), it seems ok but then I can only type one char. After
deleting from the start with repeated DEL keypressed:

    jLabel1.setText();

typing 'g':

    jLabel1.setText(g);

then 'e', it beeps. 

It also happens for other properties and controls.

(on beta 2, windows and linux)
Comment 1 Jan Stola 2007-10-31 17:43:38 UTC

*** This issue has been marked as a duplicate of 91288 ***