We know many IDE's available for coding in java. Some of these include:
1.
Eclipse - Most popular. A must have tool for java pros.
2.
JBuilder - Another IDE with loads of features.
3.
Netbeans - A IDE from Sun microsystems themselves. Good for beginners.
4. Textpad- Good old text pad for starters.

Over the last two years, i have tried all the above four IDE's and even done a comparative study between
Netbeans and Jbuilder.
I have reached to a conclusion that if you are new in the field of java, and want to get a quick grasp on the language, go for Netbeans!
Now the question would arise as to why netbeans and not the all popular eclipse!?
Well, for beginners, eclipse is quite a heavy set-up (base) and if you want to enhance it's useability, you have to get the plugins. Believe me, it's hard for beginners to get the eclipse to start to work for them smoothly the first time!
Now, Netbeans offers simplicity and it's
setupis quite small, and all the plugins pack are available in neat packages as to suit your requirements.
The base layout of netbeans is simple and sleek!

Netbeans 6.1- The perfect IDE for Beginners
The base version has many features like javascript editing, web services, C++ programming, and much more.
Also, it is much faster in comparision to other IDE's whether it be in faster load times, execution time of code, code suggestions, debugging!
All in all, Netbeans according to me provides a cool and fun way of "LEARNING" the language and mastering it!
Give it try and believe me, you will love it!
YOU CAN ALSO ORDER A FREE DVD OF NETBEANS (ABSOLUTELY FREE) FROM HERE!