How do I run this code in Netbeans?

Printable View