HTML5 Javadoc [JEP-224]

The Javadoc tool has been updated for the Java 9 platform. It can now generate HTML 5 markup output in addition to HTML 4. The new Javadoc tool provides support for both HTML 4 and HTML 5.

HTML 4 will continue, even with the advent of the Java 9 platform, to be the default Javadoc output format. HTML 5 will be an option and will not become the default output markup format until Java 10.

The following short Java application simply generates a 319-wide by 319-high frame. It is shown here without any Javadoc tags, which we will discuss later in this section:

    /import javax.swing.JFrame;    import javax.swing.WindowConstants;    public class JavadocExample     {      public static void main(String[] args)       {        drawJFrame();      } public static ...

Get Java 9: Building Robust Modular Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.