Template:Java

This template can be used to display Java code with syntax highlighting and a nice looking frame.

Example
renders as