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 - String[] editor keeps text in the textfield after removing all items
Summary: String[] editor keeps text in the textfield after removing all items
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2005-08-22 18:04 UTC by Peter Zavadsky
Modified: 2008-12-22 11:55 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 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