Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which template is the netbeans default for a new java class?

Everytime I create a new Java class in the Netbeans IDE, I get this comment at the top of the generated class file (even above the package declaration) by default:

/* * To change this template, choose Tools | Templates * and open the template in the editor. */

I've been exploring the templates for a while now and I cant seem to work out which template this message belongs to. Shouldn't it appear in plain text somewhere, being a human readable message and all?

like image 255
Scott Drew Avatar asked Mar 06 '12 08:03

Scott Drew


People also ask

How do I change the default class in NetBeans?

To change the main class being used, go to the File menu and choose Project Properties. This dialog gives all the options that can be changed in a NetBeans project. Click on the Run category. On this page, there is a Main-Class option.

How many code templates does NetBeans?

You now have two code templates. The first will be shown when "snf" is typed, followed by the expansion key, while the second requires "pe" to be typed, prior to the expansion key being pressed.


1 Answers

Tools menutemplatesLicensesDefault License

enter image description here

like image 63
btantlinger Avatar answered Oct 24 '22 23:10

btantlinger