Apache NetBeans Wiki Index

Note: These pages are being reviewed.

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

<hr/> Taken from nbdev mailing list. April 2013

Apache Migration Information

The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.

This page was exported from http://wiki.netbeans.org/DevFaqOpenFilesAfterProjectCreation , that was last modified by NetBeans user Markiewb on 2013-04-29T21:18:22Z.

NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.