Added java syntax highlighting to all code examples.