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.
Make a new j2seproject application. In the last panel, type in some project name, e.g. "foo". The main class field should become "foo.Main", OK. Now change the main class to "Foo", and then change the project name to "bar". The main class field is reset to "bar.Main". The main class field should only be automatically updated if it has not yet been manually edited. Once the user makes any explicit edits, it should be left alone.
Current behavior violates UI spec: "[...] The default generated name [...] is updated automatically if the user starts writing the project name. If the class name is modified manually then it is not updated automatically."
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team