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 62694 - New app wiz: manual edits to main class name clobbered by changes to proj name
Summary: New app wiz: manual edits to main class name clobbered by changes to proj name
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Jancura
URL: http://projects.netbeans.org/buildsys...
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-08-19 20:13 UTC by Jesse Glick
Modified: 2009-12-21 04:55 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 Jesse Glick 2005-08-19 20:13:30 UTC
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.
Comment 1 Jesse Glick 2005-08-19 20:15:28 UTC
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."
Comment 2 Quality Engineering 2009-12-21 04:55:51 UTC
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