How to make this Java Code in NetBeans

Printable View