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 Workshops: Bootstrap, Effective, Architectures, June, 13th-15th, Munich's Airport
On demand workshops: Java EE 7 Bootstrap, Effective Java EE 7, Java EE 7 Testing and NEW: Java EE 7 Microservices are available for streaming