Use a modern IDE (such as eclipse), link the locally installed Java SDK to the Java Project, and you can view the source code of (most) classes from the Java SUN development toolkit.
Extracting src.zip is an alternative, but it .. let's say .. does not support viewing code;)
source
share