posted 17 years ago
Go to your favorite search engine and type where # is the Java version (5, 6, etc.) and class_name is the class you're interested in. Pick the result that links to java.sun.com. (On Google you can use site:java.sun.com in the query and it will only return hits on that site. It's usually unnecessary though since the Sun site usually comes up in the first page.) It should take you to the JavaDoc page for that class. If what you really want is sample code, just add to the query.