Online Sample

How to use it:

  • Paste your java source code, or a snippet, in the textarea.
  • Select the desired coloring style set (Eclipse/NetBeans/JBuilder/etc).
  • Check "Line #" if you want to obtain a numbered output.
  • Check "Embed CSS" if you want the output to contain the CSS embedded.
  • Grab the generated source (and the CSS!) for using on your blog.