Como definir um compilador java no Netbeans

Estou entrando no desenvolvimento Java7 e adicionei o JDK7 aoJava Platforms e selecionou-o nas propriedades do projet

Mas quando estou compilando, recebo mensagens como:

warning: java/lang/Boolean.class(java/lang:Boolean.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.

javac: invalid target release: 1.7
/Applications/NetBeans/NetBeans 7.1.app/Contents/Resources/NetBeans/harness/suite.xml:184: The following error occurred while executing this line:
/Applications/NetBeans/NetBeans 7.1.app/Contents/Resources/NetBeans/harness/common.xml:206: Compile failed; see the compiler error output for details.

Então, até onde eu entendo, o Netbeans está usando o javac 1.6. Como posso mudar para 1,7?

EDITAR

Estou escrevendo um aplicativo da Plataforma NetBeans e nas propriedades principais do aplicativo que defini:Java Platform = JDK 1.7. E em uma das propriedades do módulo eu configurei Nível da fonte = 1,7.

EDIT2Mac O 10.7.3NetBeans IDE 7.1 (Compilação 201112071828) openjdk versão "1.7.0-internal" OpenJDK Ambiente de Tempo de Execução (build 1.7.0-internal-uko_2012_02_15_11_51-b00) OpenJDK VM do servidor de 64 bits (compilação 23.0-b15, modo misto)

suite.xml (184 é a segunda linha aqui)

<target name="build" depends="-init,branding,release,-hide-excluded-modules" description="Build all modules in the suite.">
    <subant target="netbeans" buildpath="${modules.sorted}" inheritrefs="false" inheritall="false">
        <property name="cluster.path.evaluated" value="${cluster.path.evaluated}"/> <!-- Just for speed of pre-7.0 projects -->
    </subant>
</target>

common.xml (206 é a segunda linha aqui)

<nb-javac srcdir="${src.dir}" destdir="${build.classes.dir}" debug="${build.compiler.debug}" debuglevel="${build.compiler.debuglevel}" encoding="UTF-8"
        deprecation="${build.compiler.deprecation}" optimize="${build.compiler.optimize}" source="${javac.source}" target="${javac.target}" includeantruntime="false">
    <classpath refid="cp"/>
    <compilerarg line="${javac.compilerargs}"/>
    <processorpath refid="processor.cp"/>
</nb-javac>

questionAnswers(6)

yourAnswerToTheQuestion