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 153999 - Enum value combobox should contain NULL
Summary: Enum value combobox should contain NULL
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-27 10:26 UTC by pribyl
Modified: 2009-02-19 20:49 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 pribyl 2008-11-27 10:26:56 UTC
Product Version: NetBeans IDE Dev (Build 200811270201)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

If you have a component with some property based upon Enum type, you are able to set it's value using the combobox in
Properties window.
However, if the value is not set, the the combobox displays the first available value from the Enum. Imho it should
display "null" in this case (or maybe <none>, or just empty line).
Comment 1 Jiri Vagner 2008-12-08 13:01:32 UTC
Reproducible, valid request.
Comment 2 Jiri Vagner 2008-12-12 15:14:18 UTC
Fixed

Modified file(s): http://hg.netbeans.org/main/rev/6320e7fffcf8
Comment 3 Jiri Vagner 2008-12-12 15:16:26 UTC
Fixed
Comment 4 Quality Engineering 2008-12-13 16:58:13 UTC
Integrated into 'main-golden', will be available in build *200812131401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/6320e7fffcf8
User: Jiri Vagner <jvagner@netbeans.org>
Log: #153999 - null added into enum value combobox
Comment 5 Quality Engineering 2008-12-14 17:03:28 UTC
Integrated into 'main-golden', will be available in build *200812141401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b433096a7fbd
User: Jiri Vagner <jvagner@netbeans.org>
Log: #153999 - Added missing i18n stuff into code
Comment 6 pribyl 2008-12-18 13:40:15 UTC
Product Version: NetBeans IDE Dev (Build 200812180001)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

Verified