NetBeans Platform Certified Training

Hello Dear Friends,
I joined the group called NetBeans User Group, Nagpur a couple months ago. Unfortunately I was unable to attend the Inaugural meeting of this group. then I joined this group so that I can learn something about NetBeans and Java. But as I read the mails on mailing list and other things related to NetBeans on I found this very interesting and I keep reading and gathering information about it. When we had our first skype chat meetup at that time also I was confused with the two things one is NetBeans IDE and other is NetBeans Platform. then Tushar Joshi who is founder of this group told us about the NetBeans Platform training and for that training we have to complete some badges which are maintained on our page ( where each one of us have separate page on that wikispaces link. So because of those badges I got some information about NetBeans Platform and the training of the 2 days (27th and 28th November) is good. Where I learnt various things like how to create Java Swing Applications or in other words we can say Desktop Application. I learnt How to create Modules and plugins for the NetBeans.
There were 17 people who attended the training and Geertjan Wielenga was the speaker from Amsterdam who works for oracle.
Some of our friends from Togo and a person from canada also joined us and don’t ask me their names I still not know names of some people who attended the training with me.
On first day we learned many things such as to create our own modularity,central registry, dependency management, lookup, java extension mechanism and many more and created a application wordeditor in which we converted the given string to uppercase and lowercase.
On the second day of this training we discussed about the Node API , explorer views, visual management, Actions etc. and an application about the Student Registration Application..

At the end of the day all of us are the NetBeans Certified Associate and the main conclusion is that I understood it somewhat.. To become a NetBeans Certified Engineer we have to create an application or plugin that will be approved by NetBeans. The application to be approved by NetBeans it must be unique or must an update for the already created project or plugin.

Now I’ll start learning NetBeans so that I can get more from it and hoping to start the application on my own or with the help of all my friends on the NUGmailing list.

The special thanks to Geertjan Wielenga because he spent his weekend talking with a laptop (Computer) without seeing anyone of us and to Tushar Joshi who made all arrangements for all of us for this training.

Thank You to all other whose names are not mentioned above and hoping to attend many more training in the future…

The snap of attendees of training.

NetBeans Platform

Howdy friends,

The NetBeans Platform allows applications to be developed from a set of modular software components called modules. Understood nothing??

hmm anyways… lets begin with the NetBeans first.

so the NetBeans is the (IDE) for developing with Java, JavaScript, PHP, Python, Ruby, Groovy, C, C++, Scala and others.

and NetBeans is the framework for Java Desktop Applications.

The NetBeans Platform is a Swing-based framework on which you can base desktop applications. The Platform contains APIs that simplify the handling of windows, actions, files, and many other things typical in applications. In other words its the framework used to simplify the Java Desktop Applications.

Now NetBeans began as a project under the faculty of the Mathematics and Physics in 1996. Recently the NetBeans introduced the 6.9 version of its IDE. and its freely available.

The main benefit of the NetBeans Platform is its modular architecture. Secondary benefits are the NetBeans Platform’s reliance on the Swing UI toolkit. The feature of the NetBeans platform can be termed as a Module as I said in the first line of this post. We can write our own modules to provide an additional feature for editor. A NetBeans module is a group of Java Classes that provides the some feature. The platform does not add a lot of overhead to your application — but it can save a huge amount of time and work. It provides the reliable and flexible application architecture which saves a large amount of time. As its architecture is modular it helps us to create powerful and extensible application.

The features of the NetBeans platform are:

  • Modular Runtime Container
  • Loose Coupling and Selection Management
  • FileSystem
  • Window System
  • Data Management

and various other advantages such that it uses the swing which is the standard user interface toolkit, provides rich set of APIs,

The NetBeans IDE bundle contains the Java SE contains what is needed to start developing NetBeans plugins and NetBeans Platform based applications. As the platform helps user to reuse the applications common to the desktop applications. The other features are such as dialog boxes, menus and toolbars, window management, saving and loading data etc.

In short its the NetBeans platform allows us to Develop the Java Swing Desktop Applications easily and enable us to write modules for it.

Thats what I know about Platform…


Tips and Tricks of NetBeans

Hello friends.. Wassup??
This blogpost is all about some important tips and tricks about using NetBeans.
Many people amongst us are using NetBeans for programming java, ruby, and many other languages. So in this blogpost I will cover some of the tips which I encountered while using NetBeans so that we can write our code effectively.
Getting Started:
The very first thing I am going to tell here is very basic thing creating a application project in NetBeans IDE.

Follow these steps : File -> New -> Java (categories) -> Java Application
After making your selection click next and the window will be shown as

Now give some name to your project (Red Rectangle)and click Finish (shown by Red arrow). And then your project will look like

Now another feature is that NetBeans automatically completes code for you according to information you provide:

Now on the left hand side of line 17 you see a bulb after clicking on that bulb like image select the appropriate option I selected surround Block with try-catch and my code will look like:

This figure shows that the code highlighted is created by NetBeans.
And another type of code completion is that while selecting the function there is no need to type it all in the following figure I just typed the object name followed by a . (dot) and e which is the starting letter of my function this will pops up entire list of function related to that object and shows the functions of which name starts with the e

In our large program we need to move from one function to other or from one class to another class file then to search that class file in our program is again tedious job so there is another method to jump from one class to another and one method to another “CTRL + mouse click” to jump from one class to another just point to the class where you want to jump and press CTRL button the name is highlighted so now click on it it just work as a hyperlink to go from one class file to another. Just as shown in the highlighted area.

There are some situations when we need to change the name of some class and it is very tedious job to change that name in complete program so NetBeans provides the feature known as “Refactor”.
Suppose I want to change the name of fun.class in my program. We just have to do is that point cursor on it right click and select refactor

As you can see that after selecting refactor there are various other submenus such as Rename, Move, Copy, Pull Up, Push Down. Pull Up moves any function which we want to be in super class and written in sub class and in the same way push down moves the function to the sub class from super class.
So Rename changes the name of a file or function and make changes to whole program wherever that function occurs. After selecting that menu the dialog box will open in which I am going to change name of fun to funNew.

As shown in figure change the name and click on “Refactor” and the result is shown in following diagram with red rectangles.

NetBeans can be made to adopt the features which you want in other words we can say that it adopts the coding style of programmer there are some preferences which enables us to do that.
Go to Tools-> Option


And from the options present there you can change the way your IDE works.
So friends just toy with this NetBeans and find some more tips and tricks…

NUG chat meet up

So friends today we had a NUG nagpur skype chat meet up this can be called as a 2nd meet because first meet was held almost a week ago. So officialy it was second meet.
The meet was joined by almost 10 people and we had nice talk (chat) on the Netbeans Platform in which some innovative ideas were put front by Tushar sir and Harsh sir and other members. NUG will held The NetBeans Platform Certified Training will be held on
27 and 28th November 2010. The time is 1.30pm to 8.30 pm. and they will allow only 20 candidates to this training so some of the ideas were while learning the NetBeans Platform such as badge system for the NUG members who achieve some milestone while learning and the track is maintained on different page of each NUG member. There are specific material available for our learning. There were some people who joined us late but its not anybody’s problem as we live in the timezone (IST – Indian Stretchable Time) it happens to the people who lives in this timezone. okay jokes apart but still the meeting was fine and it was productive so we all enjoyed this meet up.

Most of the people created the page to track the record of our progress.

You can join this group on:

Twitter : Hashtag : #NUGNagpur
Google Groups

Download NetBeans IDE 6.9.1