Eclispe for java. I could not imagine writing java without an IDE.
TextWrangler/BBEdit, for most other files. I like the built in support for sftp, so I can work remotely in a gui.
For the quick edits from the command line I use the old standby, vi.