Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Java I'm new to Java

  1. Feb 14, 2014 #1
    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!
  2. jcsd
  3. Feb 14, 2014 #2
    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook