After shedding blood, sweat, and tears (not really because of this, but because of a bug I found whilst doing it, and had to work my ass off to fix :() we finally have somewhere to host and maintain source code:
http://javagamesfactory.org/views/all-sourcesnippets
All source files are automatically colourified by http://java2html.de (once I’ve recuperated some energy, I’ll find out how to turn on the line-numbers, and do that too).
Ultimately, I’ll probably add some library to pretty-print the source according to your preference too ;).
FYI the only reason I didn’t use William’s otherwise excellent showsrc was … because it’s not java and I didn’t want to add all the clunkiness of PHP to an otherwise pure java webserver ;). If someone ever produces a pure java version…?
You need to register on JGF to post your source, and then you get private access to maintain it, update it etc. You need to provide a description, and usage instructions, and then you just upload the .java files and it takes care of the rest for you (c.f. the example already on the site)
Enjoy