Adam Bien's Weblog
Pretty Printing Java Source As HTML
NetBeans is able to output Java source code as HTML directly from the "File" menu:
- Select a Java Source File in the "Projects" Window
- Choose: Print To HTML
- Choose Between Print To File or Print To Clipboard
The output is fairly customizable with inlined CSS.
Java EE 7 + HTML 5 Workshops, 7th Edition: March 24th-28th, 2014, Airport Munich Tweet Follow @AdamBien