JEdit

jEdit is a very nice GPL'd Java code editor. Simpler than full-blown IDE's like NetBeans or Eclipse, easier to learn than vim or emacs.