![]() ![]() ![]() The user directory can be anywhere, while the home directory must be the cluster that is created by the build process: in 'VM parameters', pass in some VM options for setting the user directory of the application (which would normally be set via etc/nf when NetBeans IDE starts up, which it won't do in our case), as well as the home directory. Set '' as the 'Main class' (you should be able to browse to it in 'boot.jar'). Create a new configuration, named 'NetBeans' (for example, but name it whatever you like). ![]() In the toolbar, click 'Edit Configurations'. Also make sure to add 'ColorChooser.jar' (which is in 'release/modules/ext' within the Color Chooser module) in the same way. You should end up with a very long list of JARs. Make sure to look in the 'core', 'lib', and 'modules' folders. In Dependencies, create a new project library that contains all the JARs that you can find in the NetBeans installation directory's 'platform9' folder. Right-click the main "PaintApp" node and choose "Module Settings". Add the NetBeans Platform to the Classpath.Click Next and keep clicking Next until you can click Finish. In "Project files location", set the "PaintApp" root folder. Open IntelliJ and choose File | New Project | Create project from scratch. Open NetBeans IDE and create the Paint Application, which you can find in the New Project dialog. Install color profile intellij jar full#I.e., we will make full use of the NetBeans Platform, while using IntelliJ to do so. That's what we're going to be creating in the steps that follow. In the picture above, take a look at the application structure, as well as the running application itself. We're going to (1) open that application into IntelliJ and then (2) deploy it from IntelliJ, with this result: In other words, a very realistic example representing a real life scenario. The application consists of an application module that provides a canvas for painting, with some 3rd party libraries wrapped into supporting modules. We'll start with one of the standard NetBeans Platform sample applications distributed with NetBeans IDE, the Paint Application. Let's take a look at what the NetBeans Platform equivalent would look like. On there's a rather impressive article entitled Using IntelliJ IDEA for Eclipse RCP development. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |