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.
The "New Object Name" page of the New... wizard (right click on a folder in the filesystems view, choose New... choose one of the conventional templates like a Java class, and press next) is too generic. It would be better if this were parameterized in some way. For instance, when creating a Java class, it should say "New Java Class Name", when creating a Makefile, it should say "New Makefile Name". Ideally the module providing the creation wizard should be able to specify the name for this step.
David : Do you think label from list in the left panel? IMHO: It isn't P3, maybe P5 or less :). Jirka, can you do something with it ?
Yes, I can do. i.e. fold up default name to "New " + Template.displayName + " name". Is this way acceptable? I don't plan this change in 3.5, should be determined in 4.0.
Your solution sounds like it is acceptable. But, I wonder what I can do to persuade you to do this for a release before 4.0? I'm working on the Rainier project, and the team really feels like it would be valuable to fix this for that release. I also think it is more important than a P5, because this is very visible. That is, it is something that new users will see very quickly, and in some cases may be disorienting. (especially when the thing being created isn't an "object" but is a cluster of things. Thanks!
Created attachment 9526 [details] 1st draft of implementation
The attached patch works, but it looks too clumsy. It might be more clever.
No changes planned to 3.6.
TemplateWizard is not used in NB4.0 and later anymore, its replacement projects/new file and java/projects/new java file do this, change wizard title by selected template. Closed as fixed in NB4.0
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.