I want to get back into computer programming. I always enjoyed Java programming but forgot a lot about it. I use the Netbeans IDE. Does anyone know of any good online or book resources to learn Java programming?
that is nice bonus change
Teach Yourself JAVA in 21 Days is a great tutorial/refresher. For reference, the online APIs can't be beat. If you want reference books, look for the O'Reilly series. Google/Bing are great resources as well.
Ditch Netbeans and use Eclipse.
Though I would suggest giving C# a try. It's like JAVA, except with a lot of stuff cleaned up, and in Windows (disregard if you're using a mac). And if you can get your hands on a copy of Visual Studio, it will be the easiest programming experience ever. No seriously.
After taking a couple C++ classes I picked up C# for work and began writing web applications in a matter of days. I always feel like I'm ignoring a whole bunch of stuff I should be taking into account, but I think it's really just that simple.
If I'm not mistaken, there is some (limited) .Net support on Macs, so all is not lost if you go with C#. That's one of the advantages of writing in managed code instead of native code.
But it just depends on what kinds of applications you want to write. JAVA has crazy portability, but C# is not far behind. Either way, if you can't learn C# you're never going to be able to program in JAVA, so it may be a nice easy step back into programming.
Glad I'm not the only one.
What do you intend to be doing? I always liked working with things I can see immediate results (web programming, etc.). Second the notion to use Eclipse though. Eclipse is an absolute beast so I would recommend having a pretty nice computer to run it.
I haven't read a programming book in awhile as you can honestly pick up a book from the local library or just use Google to find something that is much more current. That being said, I would pick up a book that is tailored to whatever you intend to be doing. Knowing Java will only get you so far til you then want to do something with it. At which point, then you need another large book to resolve the what to do (Java Swing, Android, Servlets, etc. etc.)
Regardless of the language or medium you are programming for, the best way to learn is to come up with a program that you need and to look up how to do something when you need to. Google will be your best friend.
While I'm programing the TIVO.
If you really want to learn the details of Java, read this book it is excellent and free online:
http://www.mindview.net/Books/TIJ/ (Thinking in Java)
If you don't remember much programming at all it might be pretty hard, but it was perfect for me coming from a strong C++ background.