How to Change Default Comment Block in Java with NetBeans 7.4

  • Context: Java 
  • Thread starter Thread starter Fifty
  • Start date Start date
  • Tags Tags
    Java
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
Fifty
Messages
33
Reaction score
0
I'm new to Java. My high school CS teacher requires an MLA-style comment block before the first package declaration in our programs, I was just wondering how I might change the default opening comment block.

I'm using NetBeans 7.4. I did some searching and I couldn't find much help. I mean I did, but most tutorials assumed java knowledge at a level far higher than mine at the moment.

Thanks for the help!
 
Physics news on Phys.org
Go to Tools > Templates > Java > Java Class, and click the "Open In Editor" button at the bottom. It looks like the template is written with Freemarker or something similar, but you should be able to work from what's there.

I think that's what you're after.