How to open files in editor after project creation?

Q: I have created my own project type for my platform application. After project being created I would like to open a file contained in this project. Just like it is done when you create new java application in netbeans. After project creation your main java class is opened in editor.

A: your new project wizard iterator should be a WizardIterator<Set<FileObject>> - and you should just be able to add the files you want opened to that set

Taken from nbdev mailing list. April 2013

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo