When we create a new class in NetBeans the class is created using the default template for a Java class and this template uses the user name which is created as the computer user. In my case it is tusharj. This makes the class use my name as
which is not exciting. I want to use my real name and my email address after the @author java doc tag.
NetBeans provides a way to specify your own name to be used here. Open the Tools Menu and choose the Templates option.
In the long list of Templates locate the User Configuration Properties Node and select its child node User.properties
Uncomment the #user line and add your name and email address. Check the name I have written for me in the image below.
Now when we create a new Java class
We can see the @author tag with my real name
Tushar Joshi, Nagpur