Stuck on first tutorial

Hi :D,

        I am stuck on trying to go through the first tutorial:



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



I am using netbeans and I jave setup the necessary references to the compile and run libraries for the application.



The error I recieve is: "Incorrect package" and it underlines the "i" in import in red.



Any help would be appreciated. Thanks



Thanks for reading



Regards



Q



PS

The code is:



import com.jme.app.SimpleGame;



public class Lesson1 extends SimpleGame {



public static void main(String[] args) {

    Lesson1 app = new Lesson1();

    app.setConfigShowMode(ConfigShowMode.AlwaysShow);

    app.start();

}



        protected void simpleInitGame() {



}



}

I tried your code and it works fine for me, but I had to add a package declaration.  Which package is your class located in?  Mine is:



package com.examples;





:smiley:

Its ok. Ive fixed it now. Thanks for the reply though.