How can I Format Java Code with Blogger?

Does anyone know of a good tool that will help me with this?

When I paste Java code into this blog, I’d love for it to be nicely formattly with syntax highlighting and indenting. Unfortunately simply copying and pasting into the Compose window eats my indenting. And I really don’t want to have to do all the formatting manually in the “Edit HTML” window.

Any suggestions?