This question does not show any syntax highlighting although the code seems ok to me.
Tested with FF 3.6.15 and IE 8.0.
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
Either add the java tag to the question or add the following language hint to a new line just before your code block (hint should have 0 indentation):
<!-- language: java -->