You mean you want to generate API documentation of your own classes in the same style as the SDK API documentation?
Write javadoc comments in your source code. A javadoc comment is a comment that starts with /** and ends with */.
Read all about javadoc here:http://java.sun.com/j2se/1.3/docs/tooldocs/javadoc/index.html
Jesper