title: How to insert main method in Netbeans (shortcut)
body: <p>Sometimes you would like to run a single file to test some code quickly. Typing in <code>public static void main(String[] args) {</code> each time is tedious. How to do it quicker?</p>