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 15058 - Edit New Field dialog and Create Fields pane are similar yet very different
Summary: Edit New Field dialog and Create Fields pane are similar yet very different
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-01 21:26 UTC by eadams
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eadams 2001-09-01 21:26:49 UTC
Using the explorer drill into a java file until you find Fields.  Right-click to 
and choose Add Fields .. and you get the Edit New Field dialog.

This dialog and the Create Fields pane of the New wizard do very similar
things, yet they are very different.  I think it would be best if one used 
the other.  As they are currently implemented Create Fields would use
Edit New Field, because Create Fields let you create multiple fields and
Edit New Field lets you add just one.

Examples of the differences:
Comment 1 eadams 2001-09-01 21:48:40 UTC
I didn't finish the examples

Edit New Field uses "Access" while Create Fields uses "Access Level".
Edit New Field's default access level is "public" while Create Fields' is "<default>".
  I think both are wrong and should use "private" (see 15048).
Edit New Field uses "Other Modifers" while Create Fields uses "Field Type".
Edit New Field offers abstract, synchronized and native yet they appear to 
  be permanently disabled.  I was unable to find a way to enable them.  This
  is probably good because I don't think they apply to fields, they apply to
  methods.  So why are present?
Edit New Field offers the String type while Create Fields does not.
The list of types offerred is in a different order.

I hope this makes it clear that a common panel should be used between Edit
New Field and Create Fields.
     
Comment 2 Svata Dedic 2001-09-07 08:59:51 UTC
Reassinging to java mailing list. 
It's already too late to reuse code from the customizer for 3.3 - 
will do for the next release.
Comment 3 Martin Matula 2004-11-12 08:13:49 UTC
No longer relevant - create fields pane was removed from class wizard.
Comment 4 Quality Engineering 2007-09-20 09:49:38 UTC
Reorganization of java component