![]() For more information, see Section 5.6.2, "How to Create a Module Project". Begin creating each distinct part of your application by using the module project template.Optionally, before going further, brand the application by providing a splash screen and other external customizations. For more information, see Section 5.6.5, "How to Create a NetBeans Platform Application Project". Begin creating your application by using the NetBeans Platform application project template.For more information, see Section 5.11.2, "How to Build an NBM File".ĭistribute the NBM file for installation via the Plugins manager. Right-click the module project and choose Create NBM.For more information, see Section 5.12, "Trying Out a Module". Right-click a module project node and choose Run (later Reload in Target Platform) or Install/Reload in Development IDE to try out the module. Use the Source Editor to edit the file.Ĭhoose Build > Build Main Project or right-click any project and choose Build Project. For more information, see Section 5.7.1, "Generating Skeleton API Implementations".Īfter using a wizard, double-click the file that you would like to edit. In the New File wizard, choose the best NetBeans API template for your programming needs. Right-click a module project in the Projects window and choose New > Other.For more information, see Section 5.6.3, "How to Create a Library Wrapper Module Project". If this is the case, put the external JAR files on the module's classpath by using one or more library wrapper module project templates. For example, the collection may make use of external JAR files. ![]() For more information, see Section 5.6.4, "How to Create a Module Suite Project". Optionally, if the module will consist of a collection of module projects, use the module suite project template. Begin creating your module by using the module project template.Only when you want to use a different version of the platform than is included in the IDE, does it make sense to download the NetBeans Platform and install the modules that define the application into it. By basing your application on the NetBeans Platform, you can save a lot of development time, because you can reuse the platform's existing features such as menus, toolbars, and windowing systems.Įven though it is a separate product, there is little need to download the NetBeans Platform separately-you can develop the rich-client application in the IDE and then exclude the modules that are specific to the IDE but that are superfluous to your application. For more information, see Section 5.2, "About the NetBeans Platform". The core of the IDE is a separate product called the NetBeans Platform. Or, if you miss some functionality in the IDE, you can add it yourself, by using the skeleton code to write a module that provides the desired functionality.īuilding a rich-client application - You can use the core of the IDE as a platform on top of which you develop standalone desktop applications. For example, you can use the skeleton code to write modules that make your favorite cutting-edge technologies available to the NetBeans IDE. NetBeans modules are written with one of two aims in mind:Įxtending the IDE - You can very easily generate skeleton code for extending the IDE's functionality with new features. NetBeans modules are packaged as NBM files (.nbm extension) for non-installer distribution, usually via the Plugins manager under the Tools menu. For more information, see Section 5.7, "Using the NetBeans APIs".Ī module identifies itself as a module by an entry in its MANIFEST.MF file. A NetBeans module is a Java archive file which contains Java classes written to interact with the NetBeans APIs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |