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 62803

Summary: String[] editor keeps text in the textfield after removing all items
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: Property EditorsAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: blocker Keywords: USABILITY
Priority: P4    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Peter Zavadsky 2005-08-22 18:04:15 UTC
From original issue:

1. Invoke the String[] property editor on property which has already some items in.
2. Select some item, the text appears also in the text field, the add button is
disabled.
3. Remove all items by pressing Remove button.
4. After removal of the last item, there is a text in the textfield, and the
button Add is disabled.

Either the button Add should be enabled when some text is in the textfield, or
there shouldn't be any text after removal of the last item.
Comment 1 Jiri Rechtacek 2006-01-20 14:49:45 UTC
Reproducible in NB5.1. Should be easy to fix.
Comment 2 Jiri Rechtacek 2006-08-11 10:26:36 UTC
Checking in core/src/org/netbeans/beaninfo/editors/StringArrayCustomEditor.java;
/shared/data/ccvs/repository/core/src/org/netbeans/beaninfo/editors/StringArrayCustomEditor.java,v
 <--  StringArrayCustomEditor.java
new revision: 1.8; previous revision: 1.7
done
Checking in core/src/org/netbeans/beaninfo/editors/ExtensionListCustomEditor.java;
/shared/data/ccvs/repository/core/src/org/netbeans/beaninfo/editors/ExtensionListCustomEditor.java,v
 <--  ExtensionListCustomEditor.java
new revision: 1.11; previous revision: 1.10
done