Saturday, March 22, 2008

First Java Program with netbeans 6.1

It makes sense to try out the basic hello world program to check the IDE's core functionalities. So we go to File->New Project. This pops up the following screen that has so many types of projects that the IDE can handle!!

We select the basic Java Application and click Next. That brings us to the dialog where we name the project and set its working area. We let the default location stay and just name the project HelloWorld. Notice that the main class is automatically named.

Aha!! One of the major advantages of having an IDE is automatically generated code. See the window below, package, class and the main method structured well automatically. No difference from previous netbeans IDE’s as well, it’s the same saga going on(nobody asking for changes though :D).

Just type System. And see the pop up list of Intelligent IDE. Oooh IDE’s makes programmers life so easy. One note of caution though don’t use an IDE if you are a novice programmer because Intellisense really makes bad programmers.

Finalize the code as follows:


* To change this template, choose Tools | Templates

* and open the template in the editor.


package helloworld;


* @author Kiran


public class Main {


* @param args the command line arguments


public static void main(String[] args) {

System.out.println("Hello world");



Press F6 to run the program and notice that the Output panel appears….
Cool na?

Thursday, March 20, 2008

First look..

The 6.1 version automatically took my settings from my previous installed version. The splash screen does look cuter than the old one :D

Well about the start page, nothing much to say than that it has everything in one place. You could actually get to know a lot of things by going to the what's new section. And ofcourse you could get to your project right away too.


Installation was quite hassle free, just had to click a few next buttons. You won't have to actually configure anything if you have JDK already installed in the system.
Full installation package... he he...

First Bite @ Netbeans 6.1

Just the other day i stumbled across Netbeans IDE 6.1 beta. Being a netbeans user for quite sometime now, i thought why not blog about the very IDE that has brought me closer to my love java.So i just downloaded the entire package and was on with it in full zoom. Read my experiences here at my blog.

By the way you can get the IDE at