Hi We've all seen codeproject.com. It's a complete heaven for C++ programmers:almost unlimited source codes you can use to do almost every thing. It is a pitty if we have not such a thing here,in our java world. Do you know any equivalent for codeproject in Java world?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Although Ilja put a smiley next to his answer, he makes a good point. It's not often that you can't find Java source code for some particular problem with the help of Google. Throw SourceForge and Apache into the mix, and you've got oodles of excellent code to work with.
http://sourceforge.net is a very well-known place where a lot of open source projects are hosted. It's not code snippets like on The Code Project but there's a lot of open source code there. It's also not only Java, but there is a lot of Java code.
Also have a look at http://java.net - there are a lot of open source projects there, including the JDK itself which has now been open sourced: https://openjdk.dev.java.net [ January 29, 2007: Message edited by: Jesper Young ]