How does Sun do that for their own JavaDoc?

The Sun JavaDoc has "JavaTM 2 Platform Standard Ed. 5.0" up in the navbar, "JavaTM 2 Platform Standard Edition 5.0 API Specification" centered at the top before the normal text, and what looks like a custom footer. How do they do that?
[242 byte] By [OldAndTireda] at [2007-10-3 0:37:34]
# 1
Probably with the -header and -footer options. http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#header.If you want a centred title you could try:javadoc -header "<center><b>My Title</b><center>"Reg
RegWhittona at 2007-7-14 17:31:27 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
This shows how: http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#realworldexampleUse -doctitle and -header.-windowtitle is another useful option.
dhkramera at 2007-7-14 17:31:27 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...