Oliver said:
Hint: C:\Program Files\Java\jdk1.6.0\src.zip
I love my IDE. Instead of my having to remember this kind of crap, the
IDE remembers it for me and all I have to do is type
JFrame foo;
somewhere random in an editor, double click "JFrame", and right click
and select "Open Declaration". Presto: Sun's source code for JFrame. It
can be configured not just for rt.jar but third-party libraries as well.
You can also configure the WWW location of their API docs and your own
generated documentation will link to the API docs, as well as
shift-F2(?) letting you send the Web browser of your choice to the
online docs for any given identifier, say ListIterator.
(You can also point the docs at locally-installed copies and browse them
likewise, but it won't generate links to them in generated
documentation. The documentation you generated would have File: URLs
that wouldn't work when you published the documentation. Point at the
online copy of library docs, though, and your generated documentation
links to the official library docs at the library's official website.)