Using this template, you can create a new Java class with a main method permitting it to be run as a console application.

If you want to design a visual application, you might prefer to use the JFrame template under SwingForms, or an application skeleton under Sample Forms.