I use the Eclipse IDE to write all my Java. It makes writting Java very easy. Have a look at their web site. There are plenty of instructions and tutorials on how to install and use it.