When you create a new class in Netbeans, it automatically create code like this:
To change the author name you should do the following:
Go to Tools -> Templates. You will see the following window:
Click on "Settings" button. A new panel with template settings will appear in your IDE:
Uncomment the last line and change the value of "user" to what ever you like to be inserted after the @author tag.
That's all.
Good luck.
Simple answer and it works :) Good job and thanx!
ReplyDeleteNice!! Thanks man!
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteFabulous Post ! Thank you so much for sharing this one really well defined all peaceful info,well really like it. Thank you so much for sharing this one. - corporate lawyers Cardiff
ReplyDeleteGreat!! Thanks a lot!
ReplyDeletethanks, nice and easy
ReplyDeleteHloooo...
ReplyDeleteI change in this way
#
# Here, or in other properties files in this directory, you can define
# various properties that you want to make available to the template
# processor while creating various templates.
#
# uncomment the next line and specify your user name to be used in new templates
#user=Aayushi
but when i create new jsp..then it again show author :hp
remove the "#" from before the user
Deleteits not working even if l remove'#'
Deletei have uncommended it but it still doesn't work for me.
ReplyDeletenothing is affected, even after a restart.
(NetBeans 8.2)
It works only for new documents.
DeleteThanks a lot... It works
ReplyDeleteIt’s very informative and you are obviously very knowledgeable in this area. You have opened my eyes to varying views on this topic with interesting and solid content. Confidence Training Perth
ReplyDeletethanks !!!
ReplyDelete