So far I’ve just been tacking “java 6” at the end of my class-name search queries in google, but sometimes I’m looking for classes that I don’t know the name of, but are designed for what I want to do.
Have any tips or tricks for browsing the JDK docs efficiently?
Browse the API documentation directly from your IDE.
For example in IntelliJ IDEA, hitting Ctrl–Q when the cursor is placed on some class or method name (or other code element), shows the API documentation in a popup (something like in the screenshot below). Shift–1 opens the Javadoc in your browser for more comprehensive browsing.
(source: jetbrains.com)
I’m pretty sure there are similar features for Javadoc integration in other IDEs such as Ecplise (hover, F2, or Shift-F2) and Netbeans.
Edit: For “looking for classes that I don’t know the name of, but are designed for what I want to do”, I’d personally launch the full JDK Javadocs (with frames) in Firefox, start typing something that might be part of the classname, and let “find as you type” help me find it from the left-hand frame with all classes. Works for me quite often. Or you could try GrepDocs.