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 9217 - [Class Wizard] Difficult to generate more methods of the same name.
Summary: [Class Wizard] Difficult to generate more methods of the same name.
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 enhancement (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-24 17:13 UTC by Marian Petras
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 Marian Petras 2001-01-24 17:13:16 UTC
To reproduce:

1. Right-click on a directory in the Explorer and select New->Classes->Class.
2. Enter new name and press "Next >".
3. In the dialog for setting superclass and interfaces, click "Next >".
4. In the dialog for overriding methods, click "Next >".
5. In the dialog for adding new field click "Next >".
6. In the dialog for adding new methods:

    - add method a()
    - try to add method a(String)

    It is difficult - when you fill-in method name and try to add a parameter,
    the wizard complains about the duplicite method name. So you have to
    change the method name to something else, add the parameter(s) and then
    change the method back to 'a'.

    Another workaround - first add method a(String), then add method a()
    - but this is just a workaround.
Comment 1 Svata Dedic 2001-01-24 17:51:59 UTC
Agreed; the Wizard should probably collect all information first then update
them to the customized element in the list reporting errors/warnings as needed.
Comment 2 Svata Dedic 2001-04-09 16:52:51 UTC
The wizard now operates differently. Since method parameter input has changed 
to define all params at once (either written to the inputline or entered into 
popu dialog), it should work OK. Reopen if not.
Comment 3 Jan Becicka 2001-05-03 12:54:02 UTC
I think, that the problem is still here. But I'm not sure, if this behavior is 
in view or not...
Comment 4 Jan Chalupa 2001-05-05 23:20:26 UTC
Target milestone -> 3.3
Comment 5 Jan Chalupa 2001-11-27 12:49:57 UTC
Target milestone -> 3.3.1.
Comment 6 Svata Dedic 2002-05-21 17:49:23 UTC
Cleaning up before 4.0 planning
Comment 7 Marek Grummich 2002-07-19 17:15:35 UTC
Target milestone was changed from not determined to TBD
Comment 8 Martin Matula 2004-11-13 23:48:01 UTC
New class wizard was simplified. This issue is no longer applicable.
Comment 9 Quality Engineering 2007-09-20 12:11:26 UTC
Reorganization of java component