Most Mac users I know swear by TextMate, but the best text editor is the one you're most comfortable with.
Library copies of books tend to be really obsolete. From what I can see from the Amazon summaries of Java for Dummies, the only one that I'd even bother with is the most recent edition (previous editions were using JCreator of all things). You're probably better off following the java tutorial trails on oracle.com
The one in the library happens to be the newest one, so I went and picked it up. Also I checked out the Java tutorials on oracle.com, and it seemed to be very complicated and sophisticated. I looked around in Java for Dummies and it was a lot easier.
Also, Head First Java seems to be very old, so is it suitable for learning the most up to date version of Java?