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.
Newly created (java) objects by NFT wizard are not opened in editor.
That's because default action for those objects is Build. It should be Open.
Fixed, the Open action is default action again.
Default action is Open, but file is still not opened in editor after creation. Reassigning to java.
I'm going to look at it.
There were several problems and some of them remain. First the Project.find() was used instead of Project.findAll(). If Source cookie is not presented the created file is not opened what I think is not OK. Now the file is always open. The proper implementation of this issue depends on the issue 28089. My fix caused deadlock in the looks - Vita just fixed it and commited it into CVS. The creation of java files outside of project context (started not from project's node) fails because there is no project. This must be fixed separately. Anyway, the problem described in this issue was fixed. Fixed in: Checking in src/org/netbeans/modules/java/ui/wizard/JavaWizardIterator.java new revision: 1.12.14.3; previous revision: 1.12.14.2
Can you point me to a place where there was Project.find() ? I can't seem to find it.
Right, that comment should not be there. I was trying to fix the problem when template is created from non-project context and in JavaWizardData.setTempalte there is Project.find. But I realized that fix for this is not that easy and so I reverted all these changes before commit. Actually I do not remember why Project.find caused me troubles in setTemplate...
Verified.