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.
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]
*** Issue 10374 has been marked as a duplicate of this issue. ***
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.
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.
Perhaps yes. Void type for fields is very confusing for java newbies and very funny for java experts :-) Thanks.
Fixed in java wizard. Still present in property sheet.
Target milestone -> 3.3
*** Issue 14221 has been marked as a duplicate of this issue. ***
Already fixed along with user input validation in property editors related to org.openide.src.*
[200110030100] Verified
Resolved for 3.4.x or earlier, no new info since then -> closing.
Reorganization of java component