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 10311 - Inappropriate types in field type combobox
Summary: Inappropriate types in field type combobox
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Other Other
: P4 blocker (vote)
Assignee: jrojcek
URL:
Keywords:
: 10374 14221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-03-14 16:33 UTC by Svata Dedic
Modified: 2007-09-26 09:14 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 Svata Dedic 2001-03-14 16:33:47 UTC
In New from Template Wizard, but in PropertySheets too, combo box for field 
type shows type "void" that is only appropriate for return type of a method.
On the contrary, convenient and often used reference types, like String, etc 
are not offered to the user.

[this was originally reported as #10308]
Comment 1 Jiri Mzourek 2001-03-16 16:34:31 UTC
*** Issue 10374 has been marked as a duplicate of this issue. ***
Comment 2 Svata Dedic 2001-04-19 08:28:05 UTC
I would move this issue to Dev-branch - in the current design, the property 
editor does not know whether it is being used to edit field's type or method's 
return type, so it cannot adjust contents of the combo box.
For 3.3, it's possible to solve this issue.

I think that this issue is an enhancement rather than defect.
Comment 3 jrojcek 2001-04-19 08:51:46 UTC
I can fix it in wizard by using own prop editor (removing void from usual
editor). But it is only partial temporary wizard fix. Should I apply this to
3.2? Fix will be definitely changed in 3.3.
Comment 4 Svata Dedic 2001-04-19 09:11:11 UTC
Perhaps yes. Void type for fields is very confusing for java newbies and very
funny for java experts :-) Thanks.
Comment 5 jrojcek 2001-04-21 14:38:20 UTC
Fixed in java wizard. Still present in property sheet.
Comment 6 Jan Chalupa 2001-05-05 23:20:32 UTC
Target milestone -> 3.3
Comment 7 Jan Becicka 2001-08-09 10:35:21 UTC
*** Issue 14221 has been marked as a duplicate of this issue. ***
Comment 8 Svata Dedic 2001-08-30 17:59:58 UTC
Already fixed along with user input validation in property editors 
related to org.openide.src.*
Comment 9 Jan Becicka 2001-10-03 14:52:25 UTC
[200110030100] Verified
Comment 10 Jan Becicka 2001-10-03 15:08:25 UTC
[200110030100] Verified
Comment 11 Quality Engineering 2003-07-01 13:21:29 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 12 Quality Engineering 2007-09-20 09:56:46 UTC
Reorganization of java component