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 100976 - ENTER key in "Item" text field in String array editor
Summary: ENTER key in "Item" text field in String array editor
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 14:26 UTC by Jiri Vagner
Modified: 2007-08-04 21:40 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 Jiri Vagner 2007-04-13 14:26:41 UTC
After modifying text and pressing ENTER key in "Item:" text field in String
array editor, whole Property editor window was closed. :( 

While nothing is selected in Item List, ENTER could "press Add button".
While something is selected in Item List, ENTER could "press Edit button".
Comment 1 Tomas Pavek 2007-08-01 15:36:17 UTC
Fixed as suggested. Also made the text selected after added so it can be easily rewritten by the next item typed to the
text field.

/cvs/form/src/org/netbeans/modules/form/editors/StringArrayCustomEditor.form
new revision: 1.4; previous revision: 1.3
/cvs/form/src/org/netbeans/modules/form/editors/StringArrayCustomEditor.java
new revision: 1.7; previous revision: 1.5
Comment 2 Jiri Vagner 2007-08-04 21:40:52 UTC
Verified

Product Version: NetBeans IDE Dev (Build 200708041200)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)