Getting compile errors with lesson1 code

I'm getting compile errors when trying to run simplegame Lesson1 code



I think I did all the steps right in setting up netbeans with jme2



app.setDialogBehaviour(ALWAYS_SHOW_PROPS_DIALOG) //error : cannot find symbol method… and variable…



I get a similar error with  TextureManager.loadTexture    //cannot find symbol method…



Is there sopmething I misssed? I did get confuesed a couple of times when the tutorial refers me to jme2Physics SVN

to find a jar under dist but this is only found under the project folder I created when making my new project

Hiya, the code in the wiki is wrote with jme1 code.



You can use the examples and lessons in the jme2 svn repo:

http://code.google.com/p/jmonkeyengine/source/browse/trunk/src/jmetest/flagrushtut/Lesson1.java



A List of changes between jme1 and 2 are here:

http://www.jmonkeyengine.com/wiki/doku.php?id=jme_to_jme2_changes

Thanks that worked