An Open Source Fascicule

Author: Jay Mahadeokar


In my last post- New Platform Application development support in 6.1 RC1 we saw how we can use the new Platform app development feature to create a suite project that will help us build on top of the IDE.

Here well try to explore it further.. We will see how we can add an existing module project to the PAD (Platform Application development) suite and use the existing brilliance of IDE to create our own stand alone application.

1. Create a new PAD suite. (Refer to my earlier post)
If you try to run the project as it is now you will see the following in output window:

2. Click on Important Files >> project properties as shown:

A new properties file will open up which will contain information like app.name, app.title, branding.token, and modules..

3. Right click Important Files >> NetBeans Platform Config to see the platform file that will carry the information regarding enabled / disabled modules and clusters in our project.

4. Right click on Modules and say Add Existing.. To add an existing module to project.

I have used the Image module which will help us load images within IDE. See my earlier post Opening Images within NetBeans - Tutorial for more..

Now if you again open the properties file you can see the module information automatically added to the file.

5. Now build and run the project.. Thats it. We have successfully created our first stand alone application on top of NetBeans.. wasn't that quick??
Well the slow part was the time taken by the new project to launch.. I had to wait for best part of 4 - 5 minutes before the new instance of IDE opened up. It was strange because the new instance was a toned - down version of the existing one- only consisting of the module that we added, nothing else..

The output was something like this..



To find our image window click on window >> imageFrame.



Well am certainly fascinated by this new platform application development suite feature. Hope you like it too...

0 comments

Post a Comment

Subscribe to: Post Comments (Atom)